summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-10 23:29:13 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-10 23:29:13 +0000
commit98e4596f65f20e7f48517c57643401cf702d1e70 (patch)
tree533a6b402ca24f69a68869517420baa288bbf2d6 /utils
parentab2f54f10323bd23a46ff21f38b70c2356a72aad (diff)
Workaround -W#warnings on Windows until the correct fixes can land
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/libcxx/test/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/libcxx/test/config.py b/utils/libcxx/test/config.py
index 532b3496d..25553c70d 100644
--- a/utils/libcxx/test/config.py
+++ b/utils/libcxx/test/config.py
@@ -872,6 +872,9 @@ class Configuration(object):
# FIXME: Enable the two warnings below.
self.cxx.addWarningFlagIfSupported('-Wno-conversion')
self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
+ # FIXME: Remove this warning once the min/max handling patch lands
+ # See https://reviews.llvm.org/D33080
+ self.cxx.addWarningFlagIfSupported('-Wno-#warnings')
std = self.get_lit_conf('std', None)
if std in ['c++98', 'c++03']:
# The '#define static_assert' provided by libc++ in C++03 mode