r209761 - Move misplaced Documentation note in Attr.td

Aaron Ballman aaron at aaronballman.com
Wed May 28 12:00:58 PDT 2014


Good catch -- thanks!

~Aaron

On Wed, May 28, 2014 at 2:43 PM, Reid Kleckner <reid at kleckner.net> wrote:
> 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;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list