Add TEST_NOEXCEPT_FALSE to support D31738
authorEric Fiselier <eric@efcs.ca>
Thu, 13 Apr 2017 10:17:23 +0000 (10:17 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 13 Apr 2017 10:17:23 +0000 (10:17 +0000)
llvm-svn: 300191

libcxx/test/support/test_macros.h

index bb3bea7..cee1419 100644 (file)
 #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
 #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