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:
Aaron Ballman 2014-02-13 04:31:04 +00:00
parent 30b8bf7dbf
commit 44d2ed9817
2 changed files with 2 additions and 6 deletions

View File

@ -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>;
}

View File

@ -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));