r209890 - Setting a heading for the section/allocate attribute so that the attribute documentation can be properly generated.

Aaron Ballman aaron at aaronballman.com
Fri May 30 05:57:13 PDT 2014


Author: aaronballman
Date: Fri May 30 07:57:13 2014
New Revision: 209890

URL: http://llvm.org/viewvc/llvm-project?rev=209890&view=rev
Log:
Setting a heading for the section/allocate attribute so that the attribute documentation can be properly generated.

Modified:
    cfe/trunk/include/clang/Basic/AttrDocs.td

Modified: cfe/trunk/include/clang/Basic/AttrDocs.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttrDocs.td?rev=209890&r1=209889&r2=209890&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/AttrDocs.td (original)
+++ cfe/trunk/include/clang/Basic/AttrDocs.td Fri May 30 07:57:13 2014
@@ -33,6 +33,7 @@ def SectionDocs : Documentation {
 The ``section`` attribute allows you to specify a specific section a
 global variable or function should be in after translation.
   }];
+  let Heading = "section (gnu::section, __declspec(allocate))";
 }
 
 def TLSModelDocs : Documentation {





More information about the cfe-commits mailing list