summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ArgumentAdaptativeMatcher matchers to remove the template from ↵Samuel Benzaquen2013-08-162-10/+28
| | | | | | | | | | | | | | | | their declaration. Summary: Refactor ArgumentAdaptativeMatcher matchers to remove the template from their declaration. This facilitates dynamic registration. Change the registry code to use the regular overload resolution mechanism for adaptative matchers. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1402 llvm-svn: 188560
* Update sanitizer attribute documentation to match behaviour change in r187967.Evgeniy Stepanov2013-08-153-6/+3
| | | | llvm-svn: 188459
* Add support for -fsanitize-blacklist and default blacklists for DFSan.Peter Collingbourne2013-08-143-0/+147
| | | | | | | | Also add some documentation. Differential Revision: http://llvm-reviews.chandlerc.com/D1346 llvm-svn: 188403
* Fix typo in template diffing docs.Richard Trieu2013-08-091-1/+1
| | | | llvm-svn: 188120
* DataFlowSanitizer; Clang changes.Peter Collingbourne2013-08-073-0/+221
| | | | | | | | | | | | | DataFlowSanitizer is a generalised dynamic data flow analysis. Unlike other Sanitizer tools, this tool is not designed to detect a specific class of bugs on its own. Instead, it provides a generic dynamic data flow analysis framework to be used by clients to help detect application-specific issues within their own code. Differential Revision: http://llvm-reviews.chandlerc.com/D966 llvm-svn: 187925
* Documentation for sanitizer special case list format and ↵Alexey Samsonov2013-08-076-0/+135
| | | | | | -f(no-)?sanitize-blacklist flag llvm-svn: 187871
* Add option to disable module loading.Daniel Jasper2013-08-051-0/+5
| | | | | | | This patch was created by Lawrence Crowl and reviewed in: http://llvm-reviews.chandlerc.com/D963 llvm-svn: 187738
* Add support for passing -1 to __builtin_shufflevector to signify an ↵Craig Topper2013-08-031-3/+7
| | | | | | undefined element value to match IR capabilities. llvm-svn: 187694
* Fix GNU ObjC ABI for a message returning a struct.Eli Friedman2013-07-261-0/+17
| | | | | | | | | This allows the ObjFW runtime to correctly implement message forwarding for messages which return a struct. Patch by Jonathan Schleifer. llvm-svn: 187174
* Fix incorrect documentation generation for type matchers.Manuel Klimek2013-07-252-286/+4
| | | | llvm-svn: 187104
* Rename feature test for lambda init-captures from cxx_generalized_capture toRichard Smith2013-07-241-3/+3
| | | | | | | | cxx_init_capture. "generalized" is neither descriptive nor future-proof. No compatibility problems expected, since we've never advertised having this feature. llvm-svn: 187058
* Update documentation to match current C++1y feature set.Richard Smith2013-07-241-3/+1
| | | | llvm-svn: 187055
* Update docs.Manuel Klimek2013-07-241-8/+81
| | | | llvm-svn: 187022
* Fix bug in computing POD-for-layout.Eli Friedman2013-07-201-0/+4
| | | | | | | | | | | | A class with a field of non-POD-for-layout type is not POD-for-layout. This computation should not depend on whether the field is of POD type in the language sense. Fixes PR16537. Patch by Josh Magee. llvm-svn: 186741
* Update users manual to indicate:Richard Smith2013-07-191-3/+11
| | | | | | | 1) clang++ must be used when linking C++ programs using -fsanitize=undefined, and 2) MSan can't be combined with TSan or ASan. llvm-svn: 186711
* Revert r186672 - turns out ASan supports Mac OS 10.6 yet.Alexey Samsonov2013-07-191-1/+1
| | | | llvm-svn: 186673
* [ASan] Reflect the dropped Mac OS 10.6 support in docsAlexey Samsonov2013-07-191-1/+1
| | | | llvm-svn: 186672
* ARM: implement low-level intrinsics for the atomic exclusive operations.Tim Northover2013-07-161-0/+30
| | | | | | | | | | | | This adds three overloaded intrinsics to Clang: T __builtin_arm_ldrex(const volatile T *addr) int __builtin_arm_strex(T val, volatile T *addr) void __builtin_arm_clrex() The intent is that these do what users would expect when given most sensible types. Currently, "sensible" translates to ints, floats and pointers. llvm-svn: 186394
* Add support for type traversal matchers.Samuel Benzaquen2013-07-152-30/+33
| | | | | | | | | | | | | | | Summary: Fixup the type traversal macros/matchers to specify the supported types. Make the marshallers a little more generic to support any variadic function. Update the doc script. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1023 llvm-svn: 186340
* Add a __builtin_addressof that performs the same functionality as the built-inRichard Smith2013-07-111-0/+16
| | | | | | | | | | | & operator (ignoring any overloaded operator& for the type). The purpose of this builtin is for use in std::addressof, to allow it to be made constexpr; the existing implementation technique (reinterpret_cast to some reference type, take address, reinterpert_cast back) does not permit this because reinterpret_cast between reference types is not permitted in a constant expression in C++11 onwards. llvm-svn: 186053
* Fix some grammar errors.Richard Smith2013-07-111-4/+4
| | | | llvm-svn: 186048
* Fix documentation:Richard Smith2013-07-111-5/+11
| | | | | | | | | | | | | | #if defined(__has_foo("X")) && __has_foo("X") is not a correct way to portably use __has_foo, because it is expanded to #if 0 && 0("X") ... which is ill-formed. Also add a missing ')'. llvm-svn: 186047
* [analyzer] Add a debug checker that prints Exploded GraphAnna Zaks2013-06-241-0/+4
| | | | | | | | | | | Add a debug checker that is useful to understand how the ExplodedGraph is built; it can be triggered using the following command: clang -cc1 -analyze -analyzer-checker=debug.ViewExplodedGraph my_program.c A patch by Béatrice Creusillet! llvm-svn: 184768
* [docs] `-fno-sanitize=` is accepted too.Sean Silva2013-06-211-1/+1
| | | | llvm-svn: 184611
* Add support for polymorphic matchers. Use runtime type checking to determine ↵Samuel Benzaquen2013-06-212-3/+65
| | | | | | the right polymorphic overload to use. llvm-svn: 184558
* Improve documentation for AST matchers.Manuel Klimek2013-06-211-0/+23
| | | | llvm-svn: 184538
* [docs] Add link to presentation slides.Sean Silva2013-06-211-0/+2
| | | | llvm-svn: 184518
* [checked-arithmetic builtins] Added builtins to enable users to perform ↵Michael Gottesman2013-06-202-0/+45
| | | | | | | | | | | | | checked-arithmetic in c. This will enable users in security critical applications to perform checked-arithmetic in a fast safe manner that is amenable to c. Tests/an update to Language Extensions is included as well. rdar://13421498. llvm-svn: 184497
* This patch adds new private headers to the module map. PrivateLawrence Crowl2013-06-201-2/+5
| | | | | | | headers may be included from within the module, but not from outside the module. llvm-svn: 184471
* Adds the equalsBoundNode matcher.Manuel Klimek2013-06-201-0/+92
| | | | | | Most of the tests contributed by Edwin Vane. llvm-svn: 184427
* Implements declaratorDecl, parmVarDecl and hassTypeLoc matchers.Manuel Klimek2013-06-201-0/+37
| | | | llvm-svn: 184419
* [multiprecision-builtins] Added missing builtin __builtin_{add,sub}cb for ↵Michael Gottesman2013-06-181-0/+2
| | | | | | | | | | | | | | {add,sub} with carry for bytes. I have had several people ask me about why this builtin was not available in clang (since it seems like a logical conclusion). This patch implements said builtins. Relevant tests are included as well. I also updated the Clang language extension reference. rdar://14192664. llvm-svn: 184227
* Point link at correct location for Clang 3.3 release notes.Richard Smith2013-06-171-1/+1
| | | | llvm-svn: 184148
* [docs] Fix wrong clang-format example.Rui Ueyama2013-06-141-1/+1
| | | | llvm-svn: 183963
* Fixes the comment for hasDeclaration.Manuel Klimek2013-06-101-31/+117
| | | | llvm-svn: 183640
* Reset the release notes for the 3.4 release.Bill Wendling2013-06-041-56/+12
| | | | llvm-svn: 183211
* Document -fno-sanitize-recover and -fsanitize-undefined-trap-on-error and ↵Richard Smith2013-05-291-6/+18
| | | | | | attempt to explain the difference between them. llvm-svn: 182890
* Add caveat to __builtin_readcyclecounter documentation.Tim Northover2013-05-231-1/+3
| | | | | | | The ARM cycle-counter can be restricted by the operating system; it's worth warning potential users of this issue. llvm-svn: 182604
* ReleaseNotes.rst: typoHans Wennborg2013-05-201-1/+1
| | | | llvm-svn: 182294
* ReleaseNotes: add note about ASTContext::WCharTy and WideCharTyHans Wennborg2013-05-201-0/+9
| | | | llvm-svn: 182280
* Clang-format: allow -style="{yaml/json}" on command lineAlexander Kornienko2013-05-191-3/+6
| | | | | | | | | | | | | | Summary: + improved handling of default style and predefined styles. Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D813 llvm-svn: 182205
* Add embedded video for the AST tutorial.Manuel Klimek2013-05-171-0/+4
| | | | | | As asked for by Sean, putting the video into the docs. llvm-svn: 182081
* Add LeakSanitizer.rst to docs.Sergey Matveev2013-05-141-0/+28
| | | | llvm-svn: 181798
* C++1y: provide full 'auto' return type deduction for lambda expressions. ThisRichard Smith2013-05-121-1/+0
| | | | | | completes the implementation of N3638. llvm-svn: 181669
* Reformat clang-format help strings, filter out irrelevant options.Alexander Kornienko2013-05-101-12/+34
| | | | | | | | | | | | | | Summary: +updated ClangFormat.rst Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D780 llvm-svn: 181617
* Adding isConst() ASTMatcher for CXXMethodDecl nodesEdwin Vane2013-05-091-0/+13
| | | | | | Updated reference and unit tests. llvm-svn: 181522
* Updating LibASTMatchersReference to include namespaceDecl()Edwin Vane2013-05-091-0/+11
| | | | | | The namespaceDecl() ASTMatcher was added in r179027. llvm-svn: 181519
* Document Clang's support for #pragma comment(lib/linker) with -fms-extensionsReid Kleckner2013-05-081-0/+6
| | | | | | As suggested by Dmitri Gribenko. llvm-svn: 181433
* We're in 3.4 land now.Bill Wendling2013-05-072-4/+4
| | | | llvm-svn: 181351
* C++1y: Update __cplusplus to temporary value 201305L to allow detection of ↵Richard Smith2013-05-071-0/+92
| | | | | | | | | provisional C++1y support. Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from the C++ features study group), and update documentation to match. llvm-svn: 181342
OpenPOWER on IntegriCloud