[cfe-commits] r93314 - /cfe/trunk/test/Lexer/has_feature_cxx0x.cpp
Sean Hunt
rideau3 at gmail.com
Wed Jan 13 00:58:42 PST 2010
Author: coppro
Date: Wed Jan 13 02:58:42 2010
New Revision: 93314
URL: http://llvm.org/viewvc/llvm-project?rev=93314&view=rev
Log:
Update test function names so as not to use potential keywords.
Modified:
cfe/trunk/test/Lexer/has_feature_cxx0x.cpp
Modified: cfe/trunk/test/Lexer/has_feature_cxx0x.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/has_feature_cxx0x.cpp?rev=93314&r1=93313&r2=93314&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/has_feature_cxx0x.cpp (original)
+++ cfe/trunk/test/Lexer/has_feature_cxx0x.cpp Wed Jan 13 02:58:42 2010
@@ -12,7 +12,7 @@
#if __has_feature(cxx_nullptr)
-int nullptr();
+int has_nullptr();
#else
int no_nullptr();
#endif
@@ -32,12 +32,12 @@
#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 @@
#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
More information about the cfe-commits
mailing list