Peter Collingbourne
786283734a
Revert r209231, "Update AttributeReference.rst."
...
According to Aaron, this is being generated on the server now.
llvm-svn: 209232
2014-05-20 19:38:07 +00:00
Peter Collingbourne
450a0b1dc9
Update AttributeReference.rst.
...
llvm-svn: 209231
2014-05-20 19:27:39 +00:00
David Majnemer
fc256c3952
AttributeReference: Use UNIX line endings
...
llvm-svn: 202656
2014-03-02 18:17:08 +00:00
Aaron Ballman
b576a36c88
Adding some cross references to the sanitizer attribute documentation. Removes a Sphinx warning pointed out by Sean Silva.
...
llvm-svn: 202655
2014-03-02 17:48:20 +00:00
David Majnemer
ae88b72ac8
AttributeReference: Document __single_inhertiance, __multiple_inheritance, __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
2014-02-25 08:28:55 +00:00
David Majnemer
6fe8a7fe8a
AttributeReference: Fix a typo
...
llvm-svn: 202112
2014-02-25 05:33:01 +00:00
Alp Toker
f45fa3dca5
Fix typos
...
llvm-svn: 202108
2014-02-25 04:21:44 +00:00
Aaron Ballman
c523dcff29
Clarifying the wording for the noduplicate attribute.
...
Patch by Marcello Maggioni!
llvm-svn: 202035
2014-02-24 13:46:15 +00:00
Aaron Ballman
19c02d29f5
Adding manual headings to the new capability attributes' documentation.
...
llvm-svn: 201942
2014-02-22 19:04:55 +00:00
Aaron Ballman
7c19ab17c7
Exposing the noduplicate attribute within Clang, which marks functions so that the optimizer does not duplicate code.
...
Patch thanks to Marcello Maggioni!
llvm-svn: 201941
2014-02-22 16:59:24 +00:00
Aaron Ballman
5ee46d2a9e
Moving the documentation for the format attribute into AttrDocs.
...
llvm-svn: 201857
2014-02-21 14:36:13 +00:00
Aaron Ballman
ea6668c4e8
Moving the documentation for the type safety checking attributes into 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
2014-02-21 14:14:04 +00:00
Aaron Ballman
7803b888c4
Moving the documentation for the sanitizer negation attributes into AttrDocs.
...
llvm-svn: 201850
2014-02-21 13:44:43 +00:00
Aaron Ballman
5142a2c03a
Until attribute documentation is implemented as a server-side feature, I 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
2014-02-19 23:09:37 +00:00
Aaron Ballman
97dba048a3
Implements a declarative approach to documenting individual attributes in 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.
llvm-svn: 201515
2014-02-17 15:27:10 +00:00