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:
parent
f47fa51c69
commit
b01092f0e3
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue