[libcxx-commits] [libcxx] 8d58cb6 - [libcxx][test] Let the library indicate support for int128
Casey Carter via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 17 14:07:53 PST 2022
Author: Casey Carter
Date: 2022-02-17T14:07:49-08:00
New Revision: 8d58cb62da0f4fa67d49aa0614ae47bc233ff5d4
URL: https://github.com/llvm/llvm-project/commit/8d58cb62da0f4fa67d49aa0614ae47bc233ff5d4
DIFF: https://github.com/llvm/llvm-project/commit/8d58cb62da0f4fa67d49aa0614ae47bc233ff5d4.diff
LOG: [libcxx][test] Let the library indicate support for int128
Define `TEST_HAS_NO_INT128` accordingly.
Differential Revision: https://reviews.llvm.org/D120010
Added:
Modified:
libcxx/test/support/test_macros.h
Removed:
################################################################################
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h
index dde0802c4c261..130f3d4f0a948 100644
--- a/libcxx/test/support/test_macros.h
+++ b/libcxx/test/support/test_macros.h
@@ -366,7 +366,7 @@ inline void DoNotOptimize(Tp const& value) {
# define TEST_HAS_NO_UNICODE
#endif
-#if defined(_LIBCPP_HAS_NO_INT128) || defined(TEST_COMPILER_MSVC)
+#if defined(_LIBCPP_HAS_NO_INT128) || defined(_MSVC_STL_VERSION)
# define TEST_HAS_NO_INT128
#endif
More information about the libcxx-commits
mailing list