Get all tuple tests passing on Windows

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-07 00:10:42 +00:00
parent afd7cc87ce
commit 5616ee5bac
2 changed files with 3 additions and 2 deletions

View File

@@ -217,8 +217,7 @@ class Configuration(object):
def _configure_clang_cl(self, clang_path): def _configure_clang_cl(self, clang_path):
assert self.cxx_is_clang_cl assert self.cxx_is_clang_cl
# FIXME: don't hardcode the target # FIXME: don't hardcode the target
flags = ['-fms-compatibility-version=19.00', flags = ['--target=i686-pc-windows']
'--target=i686-unknown-windows']
compile_flags = [] compile_flags = []
link_flags = ['-fuse-ld=lld'] link_flags = ['-fuse-ld=lld']
if 'INCLUDE' in os.environ: if 'INCLUDE' in os.environ:

View File

@@ -13,6 +13,8 @@
// Disable the missing braces warning for this reason. // Disable the missing braces warning for this reason.
#if defined(__GNUC__) #if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wmissing-braces" #pragma GCC diagnostic ignored "-Wmissing-braces"
#elif defined(__clang__)
#pragma clang diagnostic ignored "-Wmissing-braces"
#endif #endif
#endif // SUPPORT_DISABLE_MISSING_BRACES_WARNING_H #endif // SUPPORT_DISABLE_MISSING_BRACES_WARNING_H