diff options
author | Sean Hunt <rideau3@gmail.com> | 2010-01-13 08:58:42 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2010-01-13 08:58:42 +0000 |
commit | 1248451dcb59c2fe4353611395feb7f7251792bf (patch) | |
tree | 4bd82247c3dc971592ca0b2b6cf430604a7f6eae | |
parent | 4ef4c6b232121dd611fc4ff9711052aaace635a3 (diff) |
Update test function names so as not to use potential keywords.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93314 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Lexer/has_feature_cxx0x.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Lexer/has_feature_cxx0x.cpp b/test/Lexer/has_feature_cxx0x.cpp index e83a37bf43..7ea4c2c1cd 100644 --- a/test/Lexer/has_feature_cxx0x.cpp +++ b/test/Lexer/has_feature_cxx0x.cpp @@ -12,7 +12,7 @@ int no_lambdas(); #if __has_feature(cxx_nullptr) -int nullptr(); +int has_nullptr(); #else int no_nullptr(); #endif @@ -32,12 +32,12 @@ int no_concepts(); #if __has_feature(cxx_decltype) -int decltype(); +int has_decltype(); #else int no_decltype(); #endif -// CHECK-0X: decltype +// CHECK-0X: has_decltype // CHECK-NO-0X: no_decltype @@ -62,12 +62,12 @@ int no_attributes(); #if __has_feature(cxx_static_assert) -int static_assert(); +int has_static_assert(); #else int no_static_assert(); #endif -// CHECK-0X: static_assert +// CHECK-0X: has_static_assert // CHECK-NO-0X: no_static_assert |