summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-05-28 18:43:46 +0000
committerReid Kleckner <reid@kleckner.net>2014-05-28 18:43:46 +0000
commitd58c978a367cc65c350635428b523375ba94106d (patch)
tree76861b28b872a99dde40ad1fc931a06f2aaba327
parent8a03f53ce270a724c7ed148a1df470205939e074 (diff)
downloadbcm5719-llvm-d58c978a367cc65c350635428b523375ba94106d.tar.gz
bcm5719-llvm-d58c978a367cc65c350635428b523375ba94106d.zip
Move misplaced Documentation note in Attr.td
llvm-svn: 209761
-rw-r--r--clang/include/clang/Basic/Attr.td5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td
index ce8ca1a568f..4eb852e4cfd 100644
--- a/clang/include/clang/Basic/Attr.td
+++ b/clang/include/clang/Basic/Attr.td
@@ -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;
OpenPOWER on IntegriCloud