summaryrefslogtreecommitdiffstats
path: root/docs/AttributeReference.rst
Commit message (Collapse)AuthorAgeFilesLines
* Generate docs/AttributeReference.rstHans Wennborg2017-07-191-6/+3464
| | | | | | | | | $ bin/clang-tblgen -gen-attr-docs -I../cfe.src/include \ ../cfe.src/include/clang/Basic/Attr.td \ -o ../cfe.src/docs/AttributeReference.rst git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@308481 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding a title to appease the sphinx build bot.Aaron Ballman2015-06-231-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240430 91177308-0d34-0410-b5e6-96231b3b80d8
* AttributeReference.rst is automatically generated by a server-side process ↵Aaron Ballman2015-06-231-1699/+5
| | | | | | currently. To cut down on accidental commits to this file that are not properly reflected in AttrDocs.td (such as r215806 - r215808), this file now contains nothing but a comment explaining the current state of affairs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240428 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the nullability attributes.Douglas Gregor2015-06-221-105/+692
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240296 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify.Nick Lewycky2014-08-161-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215808 91177308-0d34-0410-b5e6-96231b3b80d8
* Try indenting to put all the text inside the block.Nick Lewycky2014-08-161-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215807 91177308-0d34-0410-b5e6-96231b3b80d8
* Document what's experimental about __attribute__((enable_if)). PR20392Nick Lewycky2014-08-161-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215806 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210691 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r209231, "Update AttributeReference.rst."Peter Collingbourne2014-05-201-76/+2
| | | | | | According to Aaron, this is being generated on the server now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209232 91177308-0d34-0410-b5e6-96231b3b80d8
* Update AttributeReference.rst.Peter Collingbourne2014-05-201-2/+76
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209231 91177308-0d34-0410-b5e6-96231b3b80d8
* AttributeReference: Use UNIX line endingsDavid Majnemer2014-03-021-1026/+1026
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202656 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding some cross references to the sanitizer attribute documentation. ↵Aaron Ballman2014-03-021-1020/+1026
| | | | | | Removes a Sphinx warning pointed out by Sean Silva. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202655 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202121 91177308-0d34-0410-b5e6-96231b3b80d8
* AttributeReference: Fix a typoDavid Majnemer2014-02-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202112 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typosAlp Toker2014-02-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202108 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarifying the wording for the noduplicate attribute.Aaron Ballman2014-02-241-9/+9
| | | | | | Patch by Marcello Maggioni! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202035 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding manual headings to the new capability attributes' documentation.Aaron Ballman2014-02-221-34/+80
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201942 91177308-0d34-0410-b5e6-96231b3b80d8
* 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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201941 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving the documentation for the format attribute into AttrDocs.Aaron Ballman2014-02-211-0/+65
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201857 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving the documentation for the type safety checking attributes into ↵Aaron Ballman2014-02-211-0/+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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201851 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving the documentation for the sanitizer negation attributes into AttrDocs.Aaron Ballman2014-02-211-0/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201850 91177308-0d34-0410-b5e6-96231b3b80d8
* Until attribute documentation is implemented as a server-side feature, I ↵Aaron Ballman2014-02-191-4/+621
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201733 91177308-0d34-0410-b5e6-96231b3b80d8
* Implements a declarative approach to documenting individual attributes in ↵Aaron Ballman2014-02-171-0/+6
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