From e05f098a423885a218a652dd347a2ab6a35a59a6 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 28 May 2014 18:43:46 +0000 Subject: [PATCH] Move misplaced Documentation note in Attr.td git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209761 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/Attr.td | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td index ce8ca1a568..4eb852e4cf 100644 --- a/include/clang/Basic/Attr.td +++ b/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; -- 2.40.0