Get all tuple tests passing on Windows

llvm-svn: 291311
This commit is contained in:
Eric Fiselier 2017-01-07 00:10:42 +00:00
parent a8b5558f9c
commit 4ecb6dd6ea
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):
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:

View File

@ -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