False. GCC does not accept [[gnu::warn_unused]], not to be confused with [[gnu::warn_unused_result]] which does exist.

llvm-svn: 192946
This commit is contained in:
Nick Lewycky 2013-10-18 05:00:41 +00:00
parent f47fa51c69
commit b01092f0e3
1 changed files with 1 additions and 1 deletions

View 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];
}