[libcxx] r328186 - commit temporary workaround for new Clang exception warning

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 22 00:53:47 PDT 2018


Author: ericwf
Date: Thu Mar 22 00:53:47 2018
New Revision: 328186

URL: http://llvm.org/viewvc/llvm-project?rev=328186&view=rev
Log:
commit temporary workaround for new Clang exception warning

Modified:
    libcxx/trunk/utils/libcxx/test/config.py

Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=328186&r1=328185&r2=328186&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Thu Mar 22 00:53:47 2018
@@ -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.




More information about the cfe-commits mailing list