diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-12-09 22:03:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-12-09 22:03:06 +0000 |
commit | fff5ec035ba5de631ebc75c6f67d7471edef2e3a (patch) | |
tree | 2704098bb3153fbce0ddfc97c78035a7efb3aa8f /libcxx/test/support/test_macros.h | |
parent | 5d96dc562935da64554bedef819ef2198bd711a6 (diff) | |
download | bcm5719-llvm-fff5ec035ba5de631ebc75c6f67d7471edef2e3a.tar.gz bcm5719-llvm-fff5ec035ba5de631ebc75c6f67d7471edef2e3a.zip |
Use __make_integer_seq builtin for std::make_integer_sequence. Patch by K-ballo.
llvm-svn: 255162
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r-- | libcxx/test/support/test_macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index 420f4fac1ce..c34e8cf7ef1 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -26,6 +26,12 @@ #define TEST_HAS_EXTENSION(X) 0 #endif +#ifdef __has_builtin +#define TEST_HAS_BUILTIN(X) __has_builtin(X) +#else +#define TEST_HAS_BUILTIN(X) 0 +#endif + /* Make a nice name for the standard version */ #if __cplusplus <= 199711L # define TEST_STD_VER 3 |