]> granicus.if.org Git - clang/commitdiff
Move misplaced Documentation note in Attr.td
authorReid Kleckner <reid@kleckner.net>
Wed, 28 May 2014 18:43:46 +0000 (18:43 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 28 May 2014 18:43:46 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209761 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td

index ce8ca1a568f4b7a0afdc2b0bc2dad1416806b324..4eb852e4cfd1ad513270d2898b656086f3fdf3d1 100644 (file)
@@ -1088,10 +1088,10 @@ def InitPriority : InheritableAttr {
 def Section : InheritableAttr {
   let Spellings = [GCC<"section">, Declspec<"allocate">];
   let Args = [StringArgument<"Name">];
-  let Subjects = SubjectList<[Function, GlobalVar, 
+  let Subjects = SubjectList<[Function, GlobalVar,
                               ObjCMethod, ObjCProperty], ErrorDiag,
                              "ExpectedFunctionGlobalVarMethodOrProperty">;
-  let Documentation = [Undocumented];
+  let Documentation = [SectionDocs];
 }
 
 def Sentinel : InheritableAttr {
@@ -1714,7 +1714,6 @@ def MSInheritance : InheritableAttr {
                    Keyword<"__multiple_inheritance">,
                    Keyword<"__virtual_inheritance">,
                    Keyword<"__unspecified_inheritance">];
-  let Documentation = [SectionDocs];
   let AdditionalMembers = [{
   static bool hasVBPtrOffsetField(Spelling Inheritance) {
     return Inheritance == Keyword_unspecified_inheritance;