summaryrefslogtreecommitdiff
path: root/docs/InternalsManual.rst
Commit message (Collapse)AuthorAge
* Add 'remark' diagnostic type in 'clang'Tobias Grosser2014-02-28
| | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202475 91177308-0d34-0410-b5e6-96231b3b80d8
* Implements a declarative approach to documenting individual attributes in ↵Aaron Ballman2014-02-17
| | | | | | | | Clang via a Documentation tablegen class. Also updates the internals manual with information about how to use this new, required, documentation feature. This patch adds some very, very sparse initial documentation for some attributes. Additional effort from attribute authors is greatly appreciated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201515 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding a bit of documentation that was missed with r198883 (when ↵Aaron Ballman2014-01-20
| | | | | | ParseArgumentsAsUnevaluated was added). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199679 91177308-0d34-0410-b5e6-96231b3b80d8
* Exposed a declarative way to specify that an attribute can be duplicated ↵Aaron Ballman2014-01-20
| | | | | | when merging attributes on a declaration. This replaces some hard-coded functionality from Sema. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199677 91177308-0d34-0410-b5e6-96231b3b80d8
* Updating the documentation about how to add attributes based on the rather ↵Aaron Ballman2014-01-07
| | | | | | extensive refactorings that have happened over the past several months. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198705 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Document CXXLiteralOperatorName and CXXUsingDirectiveJustin Bogner2013-09-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191560 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Remove note about Identifiers being used for C++ operatorsJustin Bogner2013-09-27
| | | | | | | C++ operators are represented by CXXOperatorName now, which is already documented. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191559 91177308-0d34-0410-b5e6-96231b3b80d8
* Document that we should recognize attributes supported by gcc with C++11Dmitri Gribenko2013-01-14
| | | | | | | | | [[gnu::...]] syntax Pointed out by Richard Smith on the mailing list. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172487 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Fix up HTML links to proper reST links.Sean Silva2013-01-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171382 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation: random cleanups. Use monospaced font where appropriate,Dmitri Gribenko2012-12-15
| | | | | | | highlight console output with "code-block:: console", etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170276 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation: convert InternalsManual.html to reSTDmitri Gribenko2012-12-15
Patch by Anastasi Voitova with with small fixes by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170275 91177308-0d34-0410-b5e6-96231b3b80d8