summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-03-22 07:53:47 +0000
committerEric Fiselier <eric@efcs.ca>2018-03-22 07:53:47 +0000
commit843a3caa71ca94ec7fd857ce7b4276a37d5de4ca (patch)
treec2071d0e89a6c0ffab2f9abb3f024eab323c4b03 /libcxx/utils
parent5d4624983ddf0008581ddd9975152a5f314f7e1c (diff)
downloadbcm5719-llvm-843a3caa71ca94ec7fd857ce7b4276a37d5de4ca.tar.gz
bcm5719-llvm-843a3caa71ca94ec7fd857ce7b4276a37d5de4ca.zip
commit temporary workaround for new Clang exception warning
llvm-svn: 328186
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 2af4a473e6b..24bbbd52305 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -918,6 +918,11 @@ class Configuration(object):
self.cxx.addWarningFlagIfSupported('-Wno-user-defined-literals')
self.cxx.addWarningFlagIfSupported('-Wno-noexcept-type')
self.cxx.addWarningFlagIfSupported('-Wno-aligned-allocation-unavailable')
+ # FIXME: Remove this work-around. It is a temporary hack to get the
+ # throwing debug tests passing. For example:
+ # * test/libcxx/experimental/filesystem/class.path/path.itr/iterator_db.pass.cpp
+ # * test/libcxx/thread/futures/futures.promise/set_exception.pass.cpp
+ self.cxx.addWarningFlagIfSupported("-Wno-exceptions")
# These warnings should be enabled in order to support the MSVC
# team using the test suite; They enable the warnings below and
# expect the test suite to be clean.
OpenPOWER on IntegriCloud