]> granicus.if.org Git - clang/commitdiff
Remember to mark the target attribute as documented and clean up the
authorEric Christopher <echristo@gmail.com>
Tue, 7 Jul 2015 00:01:55 +0000 (00:01 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 7 Jul 2015 00:01:55 +0000 (00:01 +0000)
Subjects line to avoid redundancy.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241529 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td

index b3123cc83a1044aea4360a872a85f7b765d4e6de..b14d5770d2963c5dc48ed39f85aeaeb9d3bed419 100644 (file)
@@ -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 {