[libcxx] r273384 - Use correct Clang feature names. I got them wrong in the previous commit

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 21 22:40:17 PDT 2016


Author: ericwf
Date: Wed Jun 22 00:40:17 2016
New Revision: 273384

URL: http://llvm.org/viewvc/llvm-project?rev=273384&view=rev
Log:
Use correct Clang feature names. I got them wrong in the previous commit

Modified:
    libcxx/trunk/test/support/test_macros.h

Modified: libcxx/trunk/test/support/test_macros.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/test_macros.h?rev=273384&r1=273383&r2=273384&view=diff
==============================================================================
--- libcxx/trunk/test/support/test_macros.h (original)
+++ libcxx/trunk/test/support/test_macros.h Wed Jun 22 00:40:17 2016
@@ -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




More information about the cfe-commits mailing list