[libcxx] r300191 - Add TEST_NOEXCEPT_FALSE to support D31738
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 03:17:24 PDT 2017
Author: ericwf
Date: Thu Apr 13 05:17:23 2017
New Revision: 300191
URL: http://llvm.org/viewvc/llvm-project?rev=300191&view=rev
Log:
Add TEST_NOEXCEPT_FALSE to support D31738
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=300191&r1=300190&r2=300191&view=diff
==============================================================================
--- libcxx/trunk/test/support/test_macros.h (original)
+++ libcxx/trunk/test/support/test_macros.h Thu Apr 13 05:17:23 2017
@@ -106,6 +106,7 @@
#define TEST_ALIGNAS(...) alignas(__VA_ARGS__)
#define TEST_CONSTEXPR constexpr
#define TEST_NOEXCEPT noexcept
+#define TEST_NOEXCEPT_FALSE noexcept(false)
#define TEST_NOEXCEPT_COND(...) noexcept(__VA_ARGS__)
# if TEST_STD_VER >= 14
# define TEST_CONSTEXPR_CXX14 constexpr
@@ -123,6 +124,7 @@
#define TEST_CONSTEXPR
#define TEST_CONSTEXPR_CXX14
#define TEST_NOEXCEPT throw()
+#define TEST_NOEXCEPT_FALSE
#define TEST_NOEXCEPT_COND(...)
#define TEST_THROW_SPEC(...) throw(__VA_ARGS__)
#endif
More information about the cfe-commits
mailing list