aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2012-07-11Mention -fms-compatibility and -fdelayed-template-parsing in UsersManual.Nico Weber
Also mention that -std=c++11 is now on by default on windows. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160054 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-11How to set up clang tools for llvmAlexander Kornienko
Summary: How to guide for setting up clang tooling for llvm repo. Test Plan: this is untested Reviewers: klimek, djasper Reviewed By: klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160047 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10Update the docs with specifics about escaping of compile commands.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159987 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10Jordan points out that this was incorrect: clang should recover fromChris Lattner
*errors* with fixits on them by following the recovery advised by the fixit, but if it is a fixit on a warning, then obviously the AST should be for the code as-written. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159980 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10Add an explanation of -Wobjc-literal-compare to the "Objective-C Literals" pageJordan Rose
(per Jean-Daniel's suggestion to keep around an explanation of why direct comparisons on ObjC literals are a bad idea) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159972 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-09Downgrade the "direct comparison" error for ObjC literals to a warning.Jordan Rose
Chris pointed out that while the comparison is certainly problematic and does not have well-defined behavior, it isn't any worse than some of the other abuses that we merely warn about and doesn't need to make the compilation fail. Revert the release notes change (r159766) now that this is just a new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159939 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-09Links to the python CXCompilationDatabase documentation.Manuel Klimek
Patch contributed by David Roethlisberger. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159923 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-05Release notes for r158230 "Disallow using ObjC literals in direct comparisons"Jordan Rose
This may turn out to be a controversial change, due to string literals being uniqued at link time, but Apple's docs only say "The compiler makes such object constants unique on a per-module basis..."[1] without actually saying what a "module" is. (It's not a clang module.) Furthermore, this uniqueness guarantee often can't be guaranteed once the string has been passed through framework code. If this does turn out very controversial, we could downgrade this to a DefaultError warning for strings, and leave it as a true Error for other kinds of literals. (<rdar://problem/11300873>) [1]: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/CreatingStrings.html git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159766 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02[asan] update docs: mention MacOS 10.7 and correct the ifdef sample for ↵Kostya Serebryany
__has_feature git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159521 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-29Update the %diff modifer to have an alternate string print when a template treeRichard Trieu
is selected. This will allow more flexibility when converting diagnostics to use template type diffing. Also updated the internal manual and test cases for correctly keeping the bold attribute and for tree printing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159463 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-28Add -ftls-model command-line flag.Hans Wennborg
This allows for setting the default TLS model. (PR9788) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159336 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27Add missing words to manual.Richard Trieu
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159251 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27Update documentation with regards to template type diffing.Richard Trieu
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159249 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-23Support the tls_model attribute (PR9788)Hans Wennborg
This adds support for the tls_model attribute. This allows the user to choose a TLS model that is better than what LLVM would select by default. For example, a variable might be declared as: __thread int x __attribute__((tls_model("initial-exec"))); if it will not be used in a shared library that is dlopen'ed. This depends on LLVM r159077. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159078 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-22Add release note about -gline-tables-only flagAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158989 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-18document _has_feature(objc_default_synthesize_properties).Fariborz Jahanian
// rdar://11676972 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158665 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-16Make the analyzer site a single point of reference for infoAnna Zaks
on controlling diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158581 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13Add -isystem-prefix and -ino-system-prefix arguments, which can be used toRichard Smith
override whether headers are system headers by checking for prefixes of the header name specified in the #include directive. This allows warnings to be disabled for third-party code which is found in specific subdirectories of include paths. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158418 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13Doc fixed as proposed (and mostly contributed) by David Roethlisberger.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158415 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-13Update clang attribute document.Michael Han
Remove the instructions on manually adding boilerplate code of AttributeList::Kind and AttributeList::getKind(). Both are now generated by tblgen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158386 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-12Add documentation for the JSON compilation database format.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158365 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-06Puts the linktime dependencies into stupid-ld-required order, as proposed by ↵Manuel Klimek
Jordan Rose. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158113 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-06Documents linking requirements for libtooling.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158088 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-04Document how fixits on errors and warnings must behave.Nico Weber
Review and wording tweaks by Richard. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157953 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157886 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-30Clang docs update: list command-line flags that control the size of ↵Alexey Samsonov
generated debug information. Reviewed by chandlerc@ and echristo@. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157681 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-27Close HTML tag properly.Dmitri Gribenko
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157533 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-26In response to some discussions on IRC, tweak the wording of the newRichard Smith
-Wsometimes-uninitialized diagnostics to make it clearer that the cause of the issue may be a condition which must always evaluate to true or false, rather than an uninitialized variable. To emphasize this, add a new note with a fixit which removes the impossible condition or replaces it with a constant. Also, downgrade the diagnostic from -Wsometimes-uninitialized to -Wconditional-uninitialized when it applies to a range-based for loop, since the condition is not written explicitly in the code in that case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157511 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-25Release notes update for -Wsometimes-uninitialized.Richard Smith
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157459 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24Adds menu sidebar to the docs.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157399 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24Updates the tooling docs with the links to the tutorials andManuel Klimek
adds the menu include. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157397 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24Adds a tutorial for how to write clang plugins.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157396 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24Remove 3.1 release notes to get ready for current development cycle.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157379 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-17[tsan] grammar fixesKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156984 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16[tsan] fix typoKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156912 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16[tsan] first version of ThreadSanitizer docsKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156910 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-15Add documentation about boxing enum types and a codegen test to makeArgyrios Kyrtzidis
sure we pick up the underlying type, per suggestion by Fariborz. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156851 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-15Add a note about atomic builtins to c11 section of release notes.David Chisnall
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156820 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-13Fix Xcode case (Upper X, lower c)Jean-Daniel Dupas
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156742 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-12Add Python binding info to release notesGregory Szorc
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156721 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-04remove something that is really old and out of date.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156206 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03Fix typo and avoid layout issue with almost-but-not-quite-fixed-width fonts.Richard Smith
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156095 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03Minor copy-edits to clang::fallthrough attribute documentation.Richard Smith
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156094 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-03Add -Wimplicit-fallthrough warning flag, which warns on fallthrough betweenRichard Smith
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which can be used to suppress the warning in the case of intentional fallthrough. Patch by Alexander Kornienko! The handling of C++11 attribute namespaces in this patch is temporary, and will be replaced with a cleaner mechanism in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156086 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-27The release notes are no place for modesty.Richard Smith
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155681 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26Adds a tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155631 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26Reverted unintentional commit.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155629 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26Adds a small tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155627 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-25Adds documentation for how to use the tooling library.Manuel Klimek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155550 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-25Adds a document describing the various tooling approaches and their pros andManuel Klimek
cons. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155549 91177308-0d34-0410-b5e6-96231b3b80d8