[libcxx] r284004 - Unbreak C++03 build

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 04:20:28 PDT 2016


Author: ericwf
Date: Wed Oct 12 06:20:27 2016
New Revision: 284004

URL: http://llvm.org/viewvc/llvm-project?rev=284004&view=rev
Log:
Unbreak C++03 build

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=284004&r1=284003&r2=284004&view=diff
==============================================================================
--- libcxx/trunk/test/support/test_macros.h (original)
+++ libcxx/trunk/test/support/test_macros.h Wed Oct 12 06:20:27 2016
@@ -99,7 +99,7 @@
 #else
 #define TEST_CONSTEXPR
 #define TEST_CONSTEXPR_CXX14
-#define TEST_NOEXCEPT
+#define TEST_NOEXCEPT throw()
 #define TEST_NOEXCEPT_COND(...)
 #define TEST_ALIGNOF(...) __alignof(__VA_ARGS__)
 #define TEST_ALIGNAS(...) __attribute__((__aligned__(__VA_ARGS__)))




More information about the cfe-commits mailing list