]> granicus.if.org Git - clang/commitdiff
Update test function names so as not to use potential keywords.
authorSean Hunt <rideau3@gmail.com>
Wed, 13 Jan 2010 08:58:42 +0000 (08:58 +0000)
committerSean Hunt <rideau3@gmail.com>
Wed, 13 Jan 2010 08:58:42 +0000 (08:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93314 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/has_feature_cxx0x.cpp

index e83a37bf434e8523629a4c063f8920548211a9dc..7ea4c2c1cdcf97ca42ad6ef234efd61447dd17bb 100644 (file)
@@ -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