]> granicus.if.org Git - clang/commitdiff
False. GCC does not accept [[gnu::warn_unused]], not to be confused with [[gnu::warn_...
authorNick Lewycky <nicholas@mxc.ca>
Fri, 18 Oct 2013 05:00:41 +0000 (05:00 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 18 Oct 2013 05:00:41 +0000 (05:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192946 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td

index 2fc4d587643790bf82aed3069fe0193e0baa5c97..381eaeb53d9f7788763d75710e9f4113a2461335 100644 (file)
@@ -775,7 +775,7 @@ def VecReturn : InheritableAttr {
 }
 
 def WarnUnused : InheritableAttr {
-  let Spellings = [GNU<"warn_unused">, CXX11<"gnu", "warn_unused">];
+  let Spellings = [GNU<"warn_unused">];
   let Subjects = [Record];
 }