Skip to content
Snippets Groups Projects
Commit e05f098a authored by Reid Kleckner's avatar Reid Kleckner
Browse files

Move misplaced Documentation note in Attr.td

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209761 91177308-0d34-0410-b5e6-96231b3b80d8
parent 4290e78b
No related branches found
No related tags found
No related merge requests found
...@@ -1088,10 +1088,10 @@ def InitPriority : InheritableAttr { ...@@ -1088,10 +1088,10 @@ def InitPriority : InheritableAttr {
def Section : InheritableAttr { def Section : InheritableAttr {
let Spellings = [GCC<"section">, Declspec<"allocate">]; let Spellings = [GCC<"section">, Declspec<"allocate">];
let Args = [StringArgument<"Name">]; let Args = [StringArgument<"Name">];
let Subjects = SubjectList<[Function, GlobalVar, let Subjects = SubjectList<[Function, GlobalVar,
ObjCMethod, ObjCProperty], ErrorDiag, ObjCMethod, ObjCProperty], ErrorDiag,
"ExpectedFunctionGlobalVarMethodOrProperty">; "ExpectedFunctionGlobalVarMethodOrProperty">;
let Documentation = [Undocumented]; let Documentation = [SectionDocs];
} }
def Sentinel : InheritableAttr { def Sentinel : InheritableAttr {
...@@ -1714,7 +1714,6 @@ def MSInheritance : InheritableAttr { ...@@ -1714,7 +1714,6 @@ def MSInheritance : InheritableAttr {
Keyword<"__multiple_inheritance">, Keyword<"__multiple_inheritance">,
Keyword<"__virtual_inheritance">, Keyword<"__virtual_inheritance">,
Keyword<"__unspecified_inheritance">]; Keyword<"__unspecified_inheritance">];
let Documentation = [SectionDocs];
let AdditionalMembers = [{ let AdditionalMembers = [{
static bool hasVBPtrOffsetField(Spelling Inheritance) { static bool hasVBPtrOffsetField(Spelling Inheritance) {
return Inheritance == Keyword_unspecified_inheritance; return Inheritance == Keyword_unspecified_inheritance;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment