From d3b3b1f4a1eda0e9b1163de095598f02c09e2a49 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 13 Apr 2017 10:17:23 +0000 Subject: [PATCH] Add TEST_NOEXCEPT_FALSE to support D31738 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300191 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/support/test_macros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/support/test_macros.h b/test/support/test_macros.h index bb3bea7a8..cee141940 100644 --- a/test/support/test_macros.h +++ b/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