r241529 - Remember to mark the target attribute as documented and clean up the

Eric Christopher echristo at gmail.com
Mon Jul 6 17:01:56 PDT 2015


Author: echristo
Date: Mon Jul  6 19:01:55 2015
New Revision: 241529

URL: http://llvm.org/viewvc/llvm-project?rev=241529&view=rev
Log:
Remember to mark the target attribute as documented and clean up the
Subjects line to avoid redundancy.

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=241529&r1=241528&r2=241529&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Mon Jul  6 19:01:55 2015
@@ -1276,9 +1276,8 @@ def Pascal : InheritableAttr {
 def Target : InheritableAttr {
   let Spellings = [GCC<"target">];
   let Args = [StringArgument<"features">];
-  let Subjects =
-      SubjectList<[Function], ErrorDiag, "ExpectedFunction">;
-  let Documentation = [Undocumented];
+  let Subjects = SubjectList<[Function], ErrorDiag>;
+  let Documentation = [TargetDocs];
 }
 
 def TransparentUnion : InheritableAttr {





More information about the cfe-commits mailing list