[libcxx-commits] [PATCH] D120010: [libcxx][test] Neither MSVC nor its STL support int128

Casey Carter via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 17 12:08:23 PST 2022


CaseyCarter updated this revision to Diff 409744.
CaseyCarter retitled this revision from "[libcxx][test] Compilers emulating MSVC do not support int128" to "[libcxx][test] Neither MSVC nor its STL support int128".
CaseyCarter added a comment.

Update to allow clang-cl + libc++ to support int128.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120010/new/

https://reviews.llvm.org/D120010

Files:
  libcxx/test/support/test_macros.h


Index: libcxx/test/support/test_macros.h
===================================================================
--- libcxx/test/support/test_macros.h
+++ libcxx/test/support/test_macros.h
@@ -366,7 +366,7 @@
 #   define TEST_HAS_NO_UNICODE
 #endif
 
-#if defined(_LIBCPP_HAS_NO_INT128) || defined(TEST_COMPILER_MSVC)
+#if defined(_LIBCPP_HAS_NO_INT128) || defined(TEST_COMPILER_MSVC) || defined(_MSVC_STL_VERSION)
 #   define TEST_HAS_NO_INT128
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120010.409744.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220217/d88ad246/attachment.bin>


More information about the libcxx-commits mailing list