summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/test_macros.h
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-25 04:36:24 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-25 04:36:24 +0000
commit3ca9185073ef365ac7e4e027af4c939bc27cacc3 (patch)
treea2d2765b8dd94bcac228a973e1bcdcb3d7abd509 /libcxx/test/support/test_macros.h
parentc81c8cbe77b4f6b420e059307180c72fca0b9c98 (diff)
downloadbcm5719-llvm-3ca9185073ef365ac7e4e027af4c939bc27cacc3.tar.gz
bcm5719-llvm-3ca9185073ef365ac7e4e027af4c939bc27cacc3.zip
Add <experimental/coroutine>
This patch adds the library portions of the coroutines PDTS, which should now be supported by Clang. llvm-svn: 303836
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r--libcxx/test/support/test_macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h
index 6b573d40fe6..637686284ed 100644
--- a/libcxx/test/support/test_macros.h
+++ b/libcxx/test/support/test_macros.h
@@ -154,6 +154,12 @@
#define TEST_NORETURN [[noreturn]]
#endif
+#if defined(_LIBCPP_SAFE_STATIC)
+#define TEST_SAFE_STATIC _LIBCPP_SAFE_STATIC
+#else
+#define TEST_SAFE_STATIC
+#endif
+
#if TEST_STD_VER < 11
#define ASSERT_NOEXCEPT(...)
#define ASSERT_NOT_NOEXCEPT(...)
OpenPOWER on IntegriCloud