[libcxx-commits] [libcxx] 24836f8 - [libcxx][test] MSVC's __is_trivially_copyable is fixed in VS 16.7

Casey Carter via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 10 13:59:20 PDT 2020


Author: Casey Carter
Date: 2020-06-10T13:55:33-07:00
New Revision: 24836f8cd0698bfe40fa42060504f4b3a6d2b903

URL: https://github.com/llvm/llvm-project/commit/24836f8cd0698bfe40fa42060504f4b3a6d2b903
DIFF: https://github.com/llvm/llvm-project/commit/24836f8cd0698bfe40fa42060504f4b3a6d2b903.diff

LOG: [libcxx][test] MSVC's __is_trivially_copyable is fixed in VS 16.7

... so we can disable `TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE`.

Added: 
    

Modified: 
    libcxx/test/support/test_workarounds.h

Removed: 
    


################################################################################
diff  --git a/libcxx/test/support/test_workarounds.h b/libcxx/test/support/test_workarounds.h
index 8c28d001aadd..8e1b44ff9854 100644
--- a/libcxx/test/support/test_workarounds.h
+++ b/libcxx/test/support/test_workarounds.h
@@ -17,7 +17,9 @@
 #endif
 
 #if defined(TEST_COMPILER_C1XX)
-# define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
+# if _MSC_VER < 1927
+#  define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO-117743
+# endif
 # ifndef _MSC_EXTENSIONS
 #  define TEST_WORKAROUND_C1XX_BROKEN_ZA_CTOR_CHECK // VSO-119998
 # endif


        


More information about the libcxx-commits mailing list