[libcxx] r291311 - Get all tuple tests passing on Windows

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 6 16:10:43 PST 2017


Author: ericwf
Date: Fri Jan  6 18:10:42 2017
New Revision: 291311

URL: http://llvm.org/viewvc/llvm-project?rev=291311&view=rev
Log:
Get all tuple tests passing on Windows

Modified:
    libcxx/trunk/test/libcxx/test/config.py
    libcxx/trunk/test/support/disable_missing_braces_warning.h

Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=291311&r1=291310&r2=291311&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Fri Jan  6 18:10:42 2017
@@ -217,8 +217,7 @@ class Configuration(object):
     def _configure_clang_cl(self, clang_path):
         assert self.cxx_is_clang_cl
         # FIXME: don't hardcode the target
-        flags = ['-fms-compatibility-version=19.00',
-                 '--target=i686-unknown-windows']
+        flags = ['--target=i686-pc-windows']
         compile_flags = []
         link_flags = ['-fuse-ld=lld']
         if 'INCLUDE' in os.environ:

Modified: libcxx/trunk/test/support/disable_missing_braces_warning.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/disable_missing_braces_warning.h?rev=291311&r1=291310&r2=291311&view=diff
==============================================================================
--- libcxx/trunk/test/support/disable_missing_braces_warning.h (original)
+++ libcxx/trunk/test/support/disable_missing_braces_warning.h Fri Jan  6 18:10:42 2017
@@ -13,6 +13,8 @@
 // Disable the missing braces warning for this reason.
 #if defined(__GNUC__)
 #pragma GCC diagnostic ignored "-Wmissing-braces"
+#elif defined(__clang__)
+#pragma clang diagnostic ignored "-Wmissing-braces"
 #endif
 
 #endif // SUPPORT_DISABLE_MISSING_BRACES_WARNING_H




More information about the cfe-commits mailing list