forked from OSchip/llvm-project
There is no std namespace for standards-based attributes. Removing the scope qualifier and updating the only affected test case.
llvm-svn: 201294
This commit is contained in:
parent
30b8bf7dbf
commit
44d2ed9817
|
@ -364,8 +364,7 @@ def Bounded : IgnoredAttr {
|
|||
}
|
||||
|
||||
def CarriesDependency : InheritableParamAttr {
|
||||
let Spellings = [GNU<"carries_dependency">, CXX11<"","carries_dependency">,
|
||||
CXX11<"std","carries_dependency">];
|
||||
let Spellings = [GNU<"carries_dependency">, CXX11<"","carries_dependency">];
|
||||
let Subjects = SubjectList<[ParmVar, ObjCMethod, Function], ErrorDiag>;
|
||||
}
|
||||
|
||||
|
@ -480,7 +479,7 @@ def C11NoReturn : InheritableAttr {
|
|||
}
|
||||
|
||||
def CXX11NoReturn : InheritableAttr {
|
||||
let Spellings = [CXX11<"","noreturn">, CXX11<"std","noreturn">];
|
||||
let Spellings = [CXX11<"","noreturn">];
|
||||
let Subjects = SubjectList<[Function], ErrorDiag>;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,6 @@ int f3 [[gnu::warn_unused_result]] ();
|
|||
// CHECK: {{\[}}[noreturn]];
|
||||
void f4 [[noreturn]] ();
|
||||
|
||||
// CHECK: {{\[}}[std::noreturn]];
|
||||
void f5 [[std::noreturn]] ();
|
||||
|
||||
// CHECK: __attribute__((gnu_inline));
|
||||
inline void f6() __attribute__((gnu_inline));
|
||||
|
||||
|
|
Loading…
Reference in New Issue