r209761 - Move misplaced Documentation note in Attr.td
Reid Kleckner
reid at kleckner.net
Wed May 28 11:43:46 PDT 2014
Author: rnk
Date: Wed May 28 13:43:46 2014
New Revision: 209761
URL: http://llvm.org/viewvc/llvm-project?rev=209761&view=rev
Log:
Move misplaced Documentation note in Attr.td
Modified:
cfe/trunk/include/clang/Basic/Attr.td
Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=209761&r1=209760&r2=209761&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Wed May 28 13:43:46 2014
@@ -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;
More information about the cfe-commits
mailing list