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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits