summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-22 05:40:17 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-22 05:40:17 +0000
commit19d44836d77349130547f8fa71715e0a60415f28 (patch)
tree513bfa22992e9a6ed35cd6b1db604a13500a0ea2 /libcxx/test
parent94713d1671cddcb1e0c94209e9d783babc73c0e1 (diff)
downloadbcm5719-llvm-19d44836d77349130547f8fa71715e0a60415f28.tar.gz
bcm5719-llvm-19d44836d77349130547f8fa71715e0a60415f28.zip
Use correct Clang feature names. I got them wrong in the previous commit
llvm-svn: 273384
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/support/test_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h
index 667a243a594..10b55006658 100644
--- a/libcxx/test/support/test_macros.h
+++ b/libcxx/test/support/test_macros.h
@@ -71,12 +71,12 @@
#define TEST_NOEXCEPT
#endif
-#if !TEST_HAS_FEATURE(cpp_rtti) && !defined(__cpp_rtti) \
+#if !TEST_HAS_FEATURE(cxx_rtti) && !defined(__cpp_rtti) \
&& !defined(__GXX_RTTI)
#define TEST_HAS_NO_RTTI
#endif
-#if !TEST_HAS_FEATURE(cpp_exceptions) && !defined(__cpp_exceptions) \
+#if !TEST_HAS_FEATURE(cxx_exceptions) && !defined(__cpp_exceptions) \
&& !defined(__EXCEPTIONS)
#define TEST_HAS_NO_EXCEPTIONS
#endif
OpenPOWER on IntegriCloud