summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
* Add isDeleted() matcher for FunctionDecl nodes.Samuel Benzaquen2014-08-151-1/+12
| | | | | | | | | | Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D4911 llvm-svn: 215714
* [UBSan] Add returns-nonnull sanitizer.Alexey Samsonov2014-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | Summary: This patch adds a runtime check verifying that functions annotated with "returns_nonnull" attribute do in fact return nonnull pointers. It is based on suggestion by Jakub Jelinek: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140623/223693.html. Test Plan: regression test suite Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4849 llvm-svn: 215485
* Add documentation on how Language option in .clang-format files work.Alexander Kornienko2014-08-121-0/+37
| | | | llvm-svn: 215443
* Fix sphinx warning.Dan Liew2014-08-061-1/+1
| | | | llvm-svn: 214967
* Introduce f[no-]max-unknown-pointer-align=[number] optionFariborz Jahanian2014-08-051-0/+31
| | | | | | | | | to instruct the code generator to not enforce a higher alignment than the given number (of bytes) when accessing memory via an opaque pointer or reference. Patch reviewed by John McCall (with post-commit review pending). rdar://16254558 llvm-svn: 214911
* ReleaseNotes: try to fix linksHans Wennborg2014-08-051-3/+3
| | | | llvm-svn: 214883
* ReleaseNotes: mention basic debug info and ASan support in the Windows blurbHans Wennborg2014-08-051-2/+3
| | | | llvm-svn: 214882
* clang-format: Add option to always break after a function's return type.Daniel Jasper2014-08-051-2/+9
| | | | | | | | | | This is required for GNU coding style, among others. Also update the configuration documentation. Modified from an original patch by Jarkko Hietaniemi, thank you! llvm-svn: 214858
* Adds AST matchers for matching CUDA declarations.Manuel Klimek2014-08-051-34/+78
| | | | | | Patch by Jacques Pienaar. llvm-svn: 214852
* ReleaseNotes: add blurb about Windows supportHans Wennborg2014-08-051-0/+15
| | | | llvm-svn: 214830
* UsersManual: update clang-cl optionsHans Wennborg2014-08-041-49/+88
| | | | llvm-svn: 214777
* 3.5 => 3.6Sylvestre Ledru2014-07-291-2/+2
| | | | llvm-svn: 214164
* Add support for #pragma nounroll.Mark Heffernan2014-07-241-6/+7
| | | | llvm-svn: 213885
* [modules] Slightly expand module semantics documentation.Richard Smith2014-07-241-1/+3
| | | | llvm-svn: 213838
* In unroll pragma syntax and loop hint metadata, change "enable" forms to a ↵Mark Heffernan2014-07-231-2/+2
| | | | | | new form using the string "full". llvm-svn: 213771
* ARM: Add doc for ACLE memory barrier intrinsicsYi Kong2014-07-231-0/+13
| | | | | | | Add documentations for ACLE memory barrier intrinsics, describing their motion barrier characteristics. llvm-svn: 213733
* Escaping an RST character to correct a Sphinx warning.Aaron Ballman2014-07-221-1/+1
| | | | llvm-svn: 213651
* Add support for '#pragma unroll'.Mark Heffernan2014-07-211-0/+7
| | | | llvm-svn: 213574
* Fix typosAlp Toker2014-07-141-1/+1
| | | | | | Also consolidate 'backward compatibility' llvm-svn: 212974
* Document the forward of the -u option (r211756)Sylvestre Ledru2014-07-141-0/+2
| | | | llvm-svn: 212969
* Document the warning triggered by the unsupported gcc optimization flags ↵Sylvestre Ledru2014-07-141-0/+3
| | | | | | (r212805) llvm-svn: 212968
* Enable -gcolumn-info by default.Diego Novillo2014-07-101-7/+2
| | | | | | | | | | | | | | | This patch flips the default value for -gcolumn-info to be on by default. I discussed the rationale and provided compile/size data in: http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-June/074290.html This also updates the documentation and some tests that relied on the lack of column information. Some tests had column information in the expected output, but it was wrong (the tsan tests). Others were using the driver to execute. llvm-svn: 212781
* clang-format: Add new option to indent wrapped function declarations.Daniel Jasper2014-07-091-0/+4
| | | | | | | | | Though not completely identical, make former IndentFunctionDeclarationAfterType change this flag for backwards compatibility (it is somewhat close in meaning and better the err'ing on an unknown config flag). llvm-svn: 212597
* clang-format: Update flag documentation.Daniel Jasper2014-07-091-5/+1
| | | | llvm-svn: 212594
* PTHInternals.rst: PCH is now a thing, update docs to reflect itAlp Toker2014-07-071-5/+5
| | | | llvm-svn: 212458
* Update internals manual on how to add AST nodes.Nico Weber2014-07-071-3/+4
| | | | | | | | StmtDumper.cpp is called ASTDumper.cpp these days, and usually works well for new AST nodes without changes. There's now DataRecursiveASTVisitor in addition to RecursiveASTVisitor, and serialization wasn't mentioned. llvm-svn: 212426
* Update the MSVC compatibilty document for class template parsingReid Kleckner2014-07-021-16/+35
| | | | llvm-svn: 212237
* More editorial issues in MSVCCompatibility.rstDavid Majnemer2014-07-021-1/+1
| | | | | | Make the status text for lambdas green. llvm-svn: 212229
* Fix Typo in MSVCCompatibility.rstWarren Hunt2014-07-021-2/+2
| | | | | | Also removed a sentance that was no longer relevant. llvm-svn: 212227
* Fixup typo in MSVCCompatibility.rstDavid Majnemer2014-07-021-1/+1
| | | | llvm-svn: 212219
* Update the MSVC Compatibility documentDavid Majnemer2014-07-021-14/+12
| | | | | | | | It hasn't been updated to reflect the progress we've made. We've fuzz tested VFTables, VBTables, layout, and RTTI data. We support lambdas that are compatible with their scheme. llvm-svn: 212193
* ARM: add support for v8 ldaex/stlex builtins.Tim Northover2014-07-021-5/+7
| | | | | | | | | | | | | | ARMv8 adds (to both AArch32 and AArch64) acquiring and releasing variants of the exclusive operations, in line with the C++11 memory model. This adds support for two new intrinsics to expose them to C & C++ developers directly: __builtin_arm_ldaex and __builtin_arm_stlex, in direct analogy with the versions with no implicit barrier. rdar://problem/15885451 llvm-svn: 212175
* Escaping a literal character to fix an RST warning.Aaron Ballman2014-06-251-1/+1
| | | | llvm-svn: 211690
* Add new debug kind LocTrackingOnly.Diego Novillo2014-06-241-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This new debug emission kind supports emitting line location information in all instructions, but stops code generation from emitting debug info to the final output. This mode is useful when the backend wants to track source locations during code generation, but it does not want to produce debug info. This is currently used by optimization remarks (-Rpass, -Rpass-missed and -Rpass-analysis). When one of the -Rpass flags is used, the front end will enable location tracking, only if no other debug option is enabled. To prevent debug information from being generated, a new debug info kind LocTrackingOnly causes DIBuilder::createCompileUnit() to not emit the llvm.dbg.cu annotation. This blocks final code generation from generating debug info in the back end. Depends on D4234. Reviewers: echristo, dblaikie Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4235 llvm-svn: 211610
* Document unroll and unroll_count directives.Eli Bendersky2014-06-192-6/+50
| | | | | | | | | Extend the documentation for "#pragma clang loop" hints to include the unroll and unroll_count directives. Patch by Mark Heffernan [http://reviews.llvm.org/D4198] llvm-svn: 211286
* Documentation for #pragma clang loop directive and options vectorize and ↵Tyler Nowicki2014-06-182-0/+73
| | | | | | | | interleave. Reviewed by: Aaron Ballman and Dmitri Gribenko llvm-svn: 211135
* clang-format: Introduce style with spaces on both sides of */&.Daniel Jasper2014-06-171-5/+18
| | | | | | | Patch by Janusz Sobczak (slightly extended). This fixes llvm.org/19929. llvm-svn: 211098
* Add documentation for PGO with instrumentation to clang's User's Manual.Bob Wilson2014-06-171-11/+78
| | | | | | <rdar://problem/16771671> llvm-svn: 211085
* One of our buildbot for FreeBSD does not support std::to_string.Sylvestre Ledru2014-06-141-4/+14
| | | | | | Use stringstream instead to convert int to string llvm-svn: 210972
* Document Darwin-specific defaults.Adrian Prantl2014-06-132-4/+11
| | | | llvm-svn: 210958
* Make these two words equally bold.Adrian Prantl2014-06-131-1/+1
| | | | llvm-svn: 210938
* Copy the documentation of -fstandalone-debug from the man page to the userAdrian Prantl2014-06-131-0/+16
| | | | | | | | manual. rdar://problem/17307006 llvm-svn: 210936
* Remove top-level Clang -fsanitize= flags for optional ASan features.Alexey Samsonov2014-06-131-12/+0
| | | | | | | | | | | | | Init-order and use-after-return modes can currently be enabled by runtime flags. use-after-scope mode is not really working at the moment. The only problem I see is that users won't be able to disable extra instrumentation for init-order and use-after-scope by a top-level Clang flag. But this instrumentation was implicitly enabled for quite a while and we didn't hear from users hurt by it. llvm-svn: 210924
* The automated server-side process isn't quite right yet, so this is a ↵Aaron Ballman2014-06-111-2/+87
| | | | | | newly-generated attribute reference. Tanya is looking into the server process when she gets the chance. llvm-svn: 210691
* Add hasLocalStorage/hasGlobalStorage matchers.Samuel Benzaquen2014-06-051-0/+25
| | | | | | | | | | | | | | Summary: Add hasLocalStorage/hasGlobalStorage matchers for VarDecl nodes. Update the doc. Also add them to the dynamic registry. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D4034 llvm-svn: 210278
* Add __builtin_operator_new and __builtin_operator_delete, which act like callsRichard Smith2014-06-031-0/+18
| | | | | | | to the normal non-placement ::operator new and ::operator delete, but allow optimizations like new-expressions and delete-expressions do. llvm-svn: 210137
* Add documentation for -Rpass*Diego Novillo2014-05-292-0/+71
| | | | | | | | | | | | | | Summary: This adds documentation for -Rpass, -Rpass-missed and -Rpass-analysis. It also adds release notes for 3.5. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3730 llvm-svn: 209841
* [DOC] Documentation for #pragma clang optimize on/offDario Domizioli2014-05-281-0/+79
| | | | llvm-svn: 209738
* Make equalsNode work with pointers to subtypes.Manuel Klimek2014-05-271-2/+2
| | | | llvm-svn: 209652
* Adds child traversal matchers for IfStmt's then and else branches.Manuel Klimek2014-05-271-0/+18
| | | | llvm-svn: 209649
OpenPOWER on IntegriCloud