From: Sean Hunt Date: Wed, 13 Jan 2010 08:58:42 +0000 (+0000) Subject: Update test function names so as not to use potential keywords. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1248451dcb59c2fe4353611395feb7f7251792bf;p=clang 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 --- 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