[libcxx-commits] [PATCH] D120010: [libcxx][test] Compilers emulating MSVC do not support int128

Casey Carter via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 16 22:39:25 PST 2022


CaseyCarter created this revision.
CaseyCarter added reviewers: libc++, Mordante.
CaseyCarter added a project: libc++.
CaseyCarter requested review of this revision.
Herald added 1 blocking reviewer(s): libc++.

Define `TEST_HAS_NO_INT128` accordingly.


Repository:
  rG LLVM Github Monorepo

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(_MSC_VER)
 #   define TEST_HAS_NO_INT128
 #endif
 


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


More information about the libcxx-commits mailing list