diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-04-13 10:17:23 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-04-13 10:17:23 +0000 |
commit | 859f80b06f82d49348ddb01e75c32ae27b44a3cb (patch) | |
tree | 64677d92fbc865e6f847b3d92951aacc8e8b2e7d /libcxx/test/support/test_macros.h | |
parent | 62d1c71676eb5ab28313e288d3e3905fe1ff4e6e (diff) | |
download | bcm5719-llvm-859f80b06f82d49348ddb01e75c32ae27b44a3cb.tar.gz bcm5719-llvm-859f80b06f82d49348ddb01e75c32ae27b44a3cb.zip |
Add TEST_NOEXCEPT_FALSE to support D31738
llvm-svn: 300191
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r-- | libcxx/test/support/test_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index bb3bea7a813..cee1419407b 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -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 |