aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
AgeCommit message (Collapse)AuthorFilesLines
2014-01-06Clang 3.4 release notes: Fix description of enum increment/decrement change inRichard Smith1-3/+3
Clang 3.4. Add link to referenced PR. llvm-svn: 198626
2013-12-24Small reformatting changes.Bill Wendling1-15/+14
llvm-svn: 197933
2013-12-20Remove help notes from the ReleaseNotes.Bill Wendling1-29/+0
llvm-svn: 197841
2013-12-19Update of the release notes to provide examples of the new checks/warningsSylvestre Ledru1-0/+59
llvm-svn: 197667
2013-12-17Fix link.Bill Wendling1-1/+1
llvm-svn: 197443
2013-12-16Add blurb about leak sanitizer.Bill Wendling1-3/+6
llvm-svn: 197417
2013-12-16fix a weird phraseGabor Greif1-2/+2
llvm-svn: 197379
2013-12-16Rewrite the static analyzer changes description for the 3.4 release.Sylvestre Ledru1-42/+2
After chatting with Anna Zaks, she believes that my code samples were more bugs in the previous releases of the static analyzer. llvm-svn: 197377
2013-12-13Improve the 3.4 release notes about the static analyzer new featuresSylvestre Ledru1-2/+41
llvm-svn: 197225
2013-12-12Merging r197120:Bill Wendling1-11/+12
------------------------------------------------------------------------ r197120 | rsmith | 2013-12-11 18:42:17 -0800 (Wed, 11 Dec 2013) | 2 lines Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here. ------------------------------------------------------------------------ llvm-svn: 197127
2013-12-12Fix another formatting bug.Richard Smith1-1/+1
llvm-svn: 197118
2013-12-12Fix RST syntax errors.Richard Smith1-3/+4
llvm-svn: 197117
2013-12-12Add information about C++1y support to Clang 3.4 release notes.Richard Smith1-4/+24
llvm-svn: 197115
2013-12-11Add release notes for clang-format.Daniel Jasper1-0/+13
llvm-svn: 197042
2013-12-11Merging r197022:Sergey Matveev1-0/+7
------------------------------------------------------------------------ r197022 | smatveev | 2013-12-11 13:14:36 +0400 (Wed, 11 Dec 2013) | 1 line Mention LeakSanitizer in AddressSanitizer docs. ------------------------------------------------------------------------ llvm-svn: 197023
2013-12-10Merging r196957:Sergey Matveev2-11/+12
------------------------------------------------------------------------ r196957 | smatveev | 2013-12-11 00:10:30 +0400 (Wed, 11 Dec 2013) | 1 line Rewrite docs/LeakSanitizer.rst. Add it to index. ------------------------------------------------------------------------ llvm-svn: 196958
2013-12-09Release notes: expand clang-cl blurb a littleHans Wennborg1-3/+5
llvm-svn: 196810
2013-12-04Add blurb to release notes about typo correction improvements.Kaelyn Uhrain1-0/+17
llvm-svn: 196343
2013-12-03Merging r196215:llvmorg-3.4.0-rc2Bill Wendling1-2/+2
------------------------------------------------------------------------ r196215 | alp | 2013-12-02 22:53:39 -0800 (Mon, 02 Dec 2013) | 1 line Documentation typo corrections ------------------------------------------------------------------------ llvm-svn: 196234
2013-12-03Add info about Clang diagnostic improvements.Richard Trieu1-1/+13
llvm-svn: 196193
2013-12-02Mention clang-cl in the release notesHans Wennborg1-0/+9
llvm-svn: 196166
2013-11-30Merging r195983:Sergey Matveev1-3/+2
------------------------------------------------------------------------ r195983 | smatveev | 2013-12-01 01:54:43 +0400 (Sun, 01 Dec 2013) | 1 line Update the LeakSanitizer documentation with a proper link. ------------------------------------------------------------------------ llvm-svn: 195984
2013-11-27Merging r195760:Bill Wendling1-1/+1
------------------------------------------------------------------------ r195760 | ggreif | 2013-11-26 05:28:51 -0800 (Tue, 26 Nov 2013) | 1 line fix a typo ------------------------------------------------------------------------ llvm-svn: 195811
2013-11-20Update to the 3.4 release numbers.Bill Wendling2-9/+1
llvm-svn: 195233
2013-11-18Remove clang man page reference to --analyze, and point people to the ↵Ted Kremenek1-5/+2
analyzer website. llvm-svn: 195027
2013-11-18Add partial support for the hasDeclaration() matcher in the dynamic layer.Samuel Benzaquen2-30/+249
Summary: Add partial support for the hasDeclaration() matcher in the dynamic layer. This matcher has some special logic to allow any type that has a getDecl() method. We do not support this right now. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1889 llvm-svn: 195013
2013-11-18Using an invalid -O falls back on -O3 instead of an errorSylvestre Ledru1-1/+2
Summary: Currently with clang: $ clang -O20 foo.c error: invalid value '20' in '-O20' With the patch: $ clang -O20 foo.c warning: optimization level '-O20' is unsupported; using '-O3' instead. 1 warning generated. This matches the gcc behavior (with a warning added) Pass all tests: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 94.14s Expected Passes : 6721 Expected Failures : 20 Unsupported Tests : 17 (which was not the case of http://llvm-reviews.chandlerc.com/D2125) Differential Revision: http://llvm-reviews.chandlerc.com/D2212 llvm-svn: 195009
2013-11-15Revert "Using an invalid -O falls back on -O3 instead of an error"Alp Toker1-2/+1
Trying to fix test failures since earlier today. One of the tests added in this commit is outputting test/Driver/clang_f_opts.s which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are trying to run as a test case, causing failures. clang_f_opts.c: If -### doesn't emit the warning then this test probably shouldn't be in here in the first place. Frontend maybe? invalid-o-level.c: Running %clang_cc1 in the Driver tests doesn't make sense because -cc1 bypasses the driver. (I'm not reverting the commit that introduced this but please fix instead of keeping it this way.) Reverting to fix the build failures and also so that the tests can be thought out more thoroughly. This reverts commit r194817. llvm-svn: 194845
2013-11-15Using an invalid -O falls back on -O3 instead of an errorSylvestre Ledru1-1/+2
Summary: Currently with clang: $ clang -O20 foo.c error: invalid value '20' in '-O20' With the patch: $ clang -O20 foo.c warning: optimization level '-O20' is unsupported; using '-O3' instead. 1 warning generated. This matches the gcc behavior (with a warning added) Pass all tests: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 94.14s Expected Passes : 6721 Expected Failures : 20 Unsupported Tests : 17 (which was not the case of http://llvm-reviews.chandlerc.com/D2125) Reviewers: chandlerc, rafael, rengolin, hfinkel Reviewed By: rengolin CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2152 llvm-svn: 194817
2013-11-11Improve the documentation (bis) with Arthur and Chandler's commentsSylvestre Ledru1-6/+2
llvm-svn: 194412
2013-11-11Improve the documentation of the optimization flagsSylvestre Ledru1-15/+51
Reviewers: rafael.espindola, rengolin, hfinkel Reviewed By: rengolin CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2138 llvm-svn: 194405
2013-11-11Describe OpenCL C changesErik Schnetter1-0/+7
llvm-svn: 194368
2013-11-08Fix grammar-o.Bill Wendling1-2/+2
llvm-svn: 194283
2013-11-07Add the fact that Clang too is planning to start using C++11 (in someChandler Carruth1-0/+16
limited ways) after the next release. See the lengthy discussions (which are on-going) and the corresponding commit to LLVM's release notes. Nothing is actually changing at this point, this is just further spreading the plan. llvm-svn: 194184
2013-11-06Add a limit to the length of a sequence of 'operator->' functions we willRichard Smith1-1/+6
follow when building a class member access expression. Based on a patch by Rahul Jain! llvm-svn: 194161
2013-10-29ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clangBernard Ogden1-0/+9
Allow users to disable or enable CRC subtarget feature. Differential Revision: http://llvm-reviews.chandlerc.com/D2037 llvm-svn: 193600
2013-10-28Allow a new syntax in a module requires-declaration:Richard Smith1-2/+5
requires ! feature The purpose of this is to allow (for instance) the module map for /usr/include to exclude <tgmath.h> and <complex.h> when building in C++ (these headers are instead provided by the C++ standard library in this case, and the glibc C <tgmath.h> header would otherwise try to include <complex.h>, resulting in a module cycle). llvm-svn: 193549
2013-10-27Add trunk revision number on the online HTML docs.Bill Wendling2-1/+3
Patch by Vassil Vassilev. PR13435 llvm-svn: 193495
2013-10-26Document that -fsanitize=function is Linux-only.Peter Collingbourne1-1/+1
llvm-svn: 193452
2013-10-24Undoing accidental change to docs/LanguageExtensions.rst in my previous Warren Hunt1-7/+11
patch. llvm-svn: 193293
2013-10-23Implements 64 bit microsoft record layout and adds lit tests to cover Warren Hunt1-11/+7
it. Also removes all of the microsoft C++ ABI related code from the itanium layout builder. Differential Revision: http://llvm-reviews.chandlerc.com/D2003 llvm-svn: 193290
2013-10-23More wordsmithing on objc_requires_super documentation.Ted Kremenek1-7/+11
llvm-svn: 193288
2013-10-23Wordsmith text of objc_requires_super.Ted Kremenek1-9/+9
llvm-svn: 193283
2013-10-23Fix typo.Ted Kremenek1-1/+1
llvm-svn: 193281
2013-10-23Provide documentation on attribute((objc_requires_super)).Ted Kremenek1-0/+39
llvm-svn: 193278
2013-10-23Change title of section to reflect the concept, and not the mechanism.Ted Kremenek1-2/+3
llvm-svn: 193277
2013-10-21Updated and added to the Consumed documentation.Chris Wailes1-11/+41
llvm-svn: 193120
2013-10-21Add the __ARM_ARCH_EXT_IDIV__ predefine. It is set to 1 if we have hardware ↵Silviu Baranga1-0/+11
divide in the mode that we are compiling in (depending on the target features), not defined if we don't. Should be compatible with the GCC conterpart. Also adding a -hwdiv option to overide the default behavior. llvm-svn: 193074
2013-10-20Implement function type checker for the undefined behavior sanitizer.Peter Collingbourne1-0/+2
This uses function prefix data to store function type information at the function pointer. Differential Revision: http://llvm-reviews.chandlerc.com/D1338 llvm-svn: 193058
2013-10-17clang-cl: Add support for asm listings (/FA and /Fa)Hans Wennborg1-0/+2
This adds support for outputing the assembly to a file during compilation. It does this by changing the compilation pipeling to not use the integrated assembler, and keep the intermediate assembler file. Differential Revision: http://llvm-reviews.chandlerc.com/D1946 llvm-svn: 192902