summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2010-01-13 08:58:42 +0000
committerAlexis Hunt <alercah@gmail.com>2010-01-13 08:58:42 +0000
commit10e2f7264e3454b8dc21d5c03b56014c191ef68d (patch)
tree63df7102e2ed13f35448950a43b6902fd19ab2f8
parentb5499d09d168735bab44b3d734b5749b41b16462 (diff)
downloadbcm5719-llvm-10e2f7264e3454b8dc21d5c03b56014c191ef68d.tar.gz
bcm5719-llvm-10e2f7264e3454b8dc21d5c03b56014c191ef68d.zip
Update test function names so as not to use potential keywords.
llvm-svn: 93314
-rw-r--r--clang/test/Lexer/has_feature_cxx0x.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp
index e83a37bf434..7ea4c2c1cdc 100644
--- a/clang/test/Lexer/has_feature_cxx0x.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud