summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
* Add description about the __is_identifier() macroYunzhong Gao2014-04-121-0/+20
| | | | llvm-svn: 206099
* clang-format: Update flag documentation, and generation script.Daniel Jasper2014-04-092-11/+32
| | | | llvm-svn: 205853
* clang-format: Support configurable list of foreach-macros.Daniel Jasper2014-04-011-0/+8
| | | | | | | | This fixes llvm.org/PR17242. Patch by Brian Green, thank you! llvm-svn: 205307
* ARM64: initial clang support commit.Tim Northover2014-03-291-1/+1
| | | | | | | | | | | This adds Clang support for the ARM64 backend. There are definitely still some rough edges, so please bring up any issues you see with this patch. As with the LLVM commit though, we think it'll be more useful for merging with AArch64 from within the tree. llvm-svn: 205100
* Documentation: remove a spurious '1' and wrap to 80 columnsDmitri Gribenko2014-03-281-1/+4
| | | | llvm-svn: 205035
* Document module.private.modulemap and module_private.map.Douglas Gregor2014-03-281-1/+58
| | | | | | Requested in <rdar://problem/16188740>. llvm-svn: 205030
* Move the -i[no-]system-prefix options from CC1Options.td to Options.td.Alexander Kornienko2014-03-261-5/+6
| | | | | | | | | | | | | | | | Summary: This allows them to be used without -cc1 the same way as -I and -isystem. Renamed the options to --system-header-prefix=/--no-system-header-prefix to avoid interference with -isystem and make the intent of the option cleaner. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3185 llvm-svn: 204775
* Document removed flags in release notesAlexey Samsonov2014-03-212-1/+5
| | | | llvm-svn: 204438
* [msan] -fsanitize-memory-track-origins=[level] flag and docs.Evgeniy Stepanov2014-03-202-20/+60
| | | | | | | | | This change turns -fsanitize-memory-track-origins into -fsanitize-memory-track-origins=[level] flag (keeping the old one for compatibility). Possible levels are 0 (off), 1 (default) and 2 (incredibly detailed). See docs (part of this patch) for more info. llvm-svn: 204346
* Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior ↵Alexey Samsonov2014-03-201-12/+0
| | | | | | | | | flags. These flags are deprecated since at least Clang 3.3. Users should instead use -fsanitize= with appropriate values. llvm-svn: 204330
* Add a new spelling for module map files 'module.modulemap'Ben Langmuir2014-03-191-4/+7
| | | | | | | | | | | | | | | This name, while more verbose, plays more nicely with tools that use file extensions to determine file types. The existing spelling 'module.map' will continue to work, but the new spelling will take precedence. In frameworks, this new filename will only go in a new 'Modules' sub-directory. Similarly, add a module.private.modulemap corresponding to module_private.map. llvm-svn: 204261
* CMake: allow generation of a Qt Compressed Help file for Clang sourceDmitri Gribenko2014-03-132-0/+84
| | | | | | | | | | | | | | | | | | | | | | r203272 enables generation of a Qt Compressed Help file for the LLVM source code. As a consequence, this change brings the same capabilities to Clang while reusing these two variables: LLVM_ENABLE_DOXYGEN_QT_HELP LLVM_DOXYGEN_QHELPGENERATOR_PATH and adding CLANG_DOXYGEN_QCH_FILENAME="org.llvm.clang.qch" CLANG_DOXYGEN_QHP_NAMESPACE="org.llvm.clang" CLANG_DOXYGEN_QHP_CUST_FILTER_NAME="Clang ${CLANG_VERSION}" CLANG_DOXYGEN_QHP_CUST_FILTER_ATTRS="Clang,${CLANG_VERSION}" Patch by Konrad Kleine. llvm-svn: 203801
* Add loc() to the dynamic registry.Samuel Benzaquen2014-03-102-12/+31
| | | | | | | | | | | | | | | | | | Summary: Add loc() to the dynamic registry. Other fixes: - Fix the polymorphic variant value to accept an exact match, even if there are other possible conversions. - Fix specifiesTypeLoc() to not crash on an empty NestedNameSpecifierLoc. Reviewers: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2928 llvm-svn: 203467
* Add a note in the user manual that tsan is not supported on Mac.Nico Weber2014-03-071-1/+1
| | | | | | Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203260
* "Mac OS/X" -> "Mac OS X" spelling fixes for clang.Nico Weber2014-03-072-4/+4
| | | | | | Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203259
* ExternalClangExamples: add a link to ToyClangPluginDmitri Gribenko2014-03-071-0/+7
| | | | | | Patch by Alexey Denisov. llvm-svn: 203219
* [docs] s/cpp11-migrate/clang-modernize/Rui Ueyama2014-03-061-2/+2
| | | | llvm-svn: 203158
* Expand documentation section on comment parsingDmitri Gribenko2014-03-061-1/+26
| | | | | | Patch by Jonathan Sauer, with a little editing by me. llvm-svn: 203128
* Mention clang-cl in MSVCCompatibility.rstNico Weber2014-03-051-1/+4
| | | | llvm-svn: 203002
* Fix MSVCCompatibility doc ReST and wording.Reid Kleckner2014-03-031-4/+4
| | | | llvm-svn: 202732
* AttributeReference: Use UNIX line endingsDavid Majnemer2014-03-021-1026/+1026
| | | | llvm-svn: 202656
* Adding some cross references to the sanitizer attribute documentation. ↵Aaron Ballman2014-03-021-1020/+1026
| | | | | | Removes a Sphinx warning pointed out by Sean Silva. llvm-svn: 202655
* Add [extern_c] attribute for modules, allowing a C module to be imported ↵Richard Smith2014-03-021-2/+4
| | | | | | within an extern "C" block in C++ code. llvm-svn: 202615
* If a module A exports a macro M, and a module B imports that macro and #undef'sRichard Smith2014-03-011-0/+34
| | | | | | | | | | | | | | it, importers of B should not see the macro. This is complicated by the fact that A's macro could also be visible through a different path. The rules (as hashed out on cfe-commits) are included as a documentation update in this change. With this, the number of regressions in libc++'s testsuite when modules are enabled drops from 47 to 7. Those remaining 7 are also macro-related, and are due to remaining bugs in this change (in particular, the handling of submodules is imperfect). llvm-svn: 202560
* Add Clang docs about MSVC compatibilityReid Kleckner2014-02-282-0/+122
| | | | | | | | | This documents some of the status of supported functionality in MSVC quirks mode. Some of this should be in http://clang.llvm.org/compatibility.html instead when things have stabilized. llvm-svn: 202559
* Add 'remark' diagnostic type in 'clang'Tobias Grosser2014-02-282-9/+14
| | | | | | | | | | | | | | | | | | | | | | | A 'remark' is information that is not an error or a warning, but rather some additional information provided to the user. In contrast to a 'note' a 'remark' is an independent diagnostic, whereas a 'note' always depends on another diagnostic. A typical use case for remark nodes is information provided to the user, e.g. information provided by the vectorizer about loops that have been vectorized. This patch provides the initial implementation of 'remarks'. It includes the actual definiton of the remark nodes, their printing as well as basic parameter handling. We are reusing the existing diagnostic parameters which means a remark can be enabled with normal '-Wdiagnostic-name' flags and can be upgraded to an error using '-Werror=diagnostic-name'. '-Werror' alone does not upgrade remarks. This patch is by intention minimal in terms of parameter handling. More experience and more discussions will most likely lead to further enhancements in the parameter handling. llvm-svn: 202475
* AttributeReference: Document __single_inhertiance, __multiple_inheritance, ↵David Majnemer2014-02-251-967/+1020
| | | | | | | | | | | __virtual_inheritance Add documentation for these attributes, it includes: - Motivation for their existence. - Examples on how to use them. - Examples on how to misuse them. llvm-svn: 202121
* Modules: Fix malformed reStructuredTextDavid Majnemer2014-02-251-1/+1
| | | | llvm-svn: 202117
* AttributeReference: Fix a typoDavid Majnemer2014-02-251-1/+1
| | | | llvm-svn: 202112
* Fix typosAlp Toker2014-02-251-1/+1
| | | | llvm-svn: 202108
* Clarifying the wording for the noduplicate attribute.Aaron Ballman2014-02-241-9/+9
| | | | | | Patch by Marcello Maggioni! llvm-svn: 202035
* Fix AST matcher documentation for overloaded matchers.Manuel Klimek2014-02-242-27/+98
| | | | | | | | Before this patch we would only use the fist occurance of a matcher function in the documentation, for example leaving out hasType(Matcher<QualType>). llvm-svn: 202019
* Fix docs generation for the AST matchers:Manuel Klimek2014-02-242-35/+82
| | | | | | | | | 1. Move internal functions into ASTMatchersInternal. 2. Adapt dump_ast_matchers.py to the new VariadicOperatorMatcherFunc signature. 3. Update the actual docs with the updated tool / code. llvm-svn: 202017
* Fixing the indentation of the RST content in the release notes. Fixes two ↵Aaron Ballman2014-02-231-5/+5
| | | | | | warnings when building the HTML content and improves the format of the resulting content. llvm-svn: 201987
* Release Notes: document -f{,no-}integrate-asSaleem Abdulrasool2014-02-231-2/+10
| | | | | | | | | Now that the integrated assembler is considered a first class feature of the compiler and has a proper feature flag, document the change in the compiler flags. Ensure that we indicate that the legacy flags are still available, but, encourage users to switch to the feature flags. llvm-svn: 201964
* Adding manual headings to the new capability attributes' documentation.Aaron Ballman2014-02-221-34/+80
| | | | llvm-svn: 201942
* Exposing the noduplicate attribute within Clang, which marks functions so ↵Aaron Ballman2014-02-221-0/+44
| | | | | | | | that the optimizer does not duplicate code. Patch thanks to Marcello Maggioni! llvm-svn: 201941
* Moving the documentation for the format attribute into AttrDocs.Aaron Ballman2014-02-212-60/+65
| | | | llvm-svn: 201857
* Moving the documentation for the type safety checking attributes into ↵Aaron Ballman2014-02-212-152/+151
| | | | | | AttrDocs. If a custom heading is provided, do not automatically generate the alternate spelling list. This is necessary because some attributes have distinct semantic spellings and meanings, but use the same semantic attribute internally. Such attributes should have multiple elements in their documentation list, but not show all spellings. At some point, it would be nice to have a way to attach the documentation element to a specific spelling for these cases. llvm-svn: 201851
* Moving the documentation for the sanitizer negation attributes into AttrDocs.Aaron Ballman2014-02-212-31/+38
| | | | llvm-svn: 201850
* Doing some temporary touch-up on the gnu namespace attribute documentation, ↵Aaron Ballman2014-02-191-4/+1
| | | | | | | | from a post-commit review comment. Ideally, this content will eventually find a home with the rest of the attribute documentation. llvm-svn: 201736
* Until attribute documentation is implemented as a server-side feature, I ↵Aaron Ballman2014-02-192-5/+622
| | | | | | | | will be manually committing AttributeReference.rst so that attribute documentation can be on the live server instead of simply disappearing from the language extensions page without obvious replacement. This is a temporary stop-gap solution until server-side generation is implemented, at which point the AttributeReference.rst will go back to holding placeholder text. llvm-svn: 201733
* Refactored the way attribute category headers are handled so that it is ↵Aaron Ballman2014-02-191-58/+0
| | | | | | possible to use custom categories. This allows for moving the consumable attributes (consumable, callable_when, return_typestate, etc) to be grouped together, with a content heading, like they were in the language extensions documentation. Moved the consumable attribute documentation from the language extensions into the attribute documentation table. llvm-svn: 201732
* Moving the documentation for the ARM interrupt attribute into AttrDocs.Aaron Ballman2014-02-191-42/+0
| | | | llvm-svn: 201716
* Moving the documentation for the clang::fallthrough attribute into AttrDocs.Aaron Ballman2014-02-191-45/+0
| | | | llvm-svn: 201715
* Some of these headings had the incorrect number of "underlines" and so would ↵Aaron Ballman2014-02-191-3/+3
| | | | | | get warnings when generating the content from Sphinx. No functional changes intended. llvm-svn: 201713
* Moving the documentation for the availability attribute into AttrDocs.Aaron Ballman2014-02-191-97/+0
| | | | llvm-svn: 201712
* Updated tutorial code according to the changes in r197139.Alexander Kornienko2014-02-191-2/+6
| | | | | | Thanks to Konrad Kleine for reporting the inconsistency! llvm-svn: 201693
* Moving the documentation for the objc_requires_super attribute into AttrDocs.Aaron Ballman2014-02-191-48/+1
| | | | llvm-svn: 201687
* Moving the documentation for the objc_method_family attribute into AttrDocs.Aaron Ballman2014-02-191-25/+0
| | | | llvm-svn: 201686
OpenPOWER on IntegriCloud