Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621.

llvm-svn: 292135
This commit is contained in:
Marshall Clow 2017-01-16 15:28:03 +00:00
parent 43a8b7bc8c
commit b4a2a63373
5 changed files with 4 additions and 4 deletions

View File

@ -55,10 +55,6 @@ class Configuration(LibcxxConfiguration):
if not self.get_lit_bool('enable_threads', True):
self.cxx.compile_flags += ['-D_LIBCXXABI_HAS_NO_THREADS']
self.config.available_features.add('libcxxabi-no-threads')
# FIXME: Fix the unwind_* tests that test dynamic exception
# specifications so they work in C++17 (or always test in C++14).
# Suppressing this warning is a temporary workaround.
self.cxx.addWarningFlagIfSupported('-Wno-dynamic-exception-spec')
super(Configuration, self).configure_compile_flags()
def configure_compile_flags_header_includes(self):

View File

@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: libcxxabi-no-exceptions
// REQUIRES-ANY: c++98, c++03, c++11, c++14
#include <assert.h>

View File

@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: libcxxabi-no-exceptions
// REQUIRES-ANY: c++98, c++03, c++11, c++14
#include <exception>
#include <stdlib.h>

View File

@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: libcxxabi-no-exceptions
// REQUIRES-ANY: c++98, c++03, c++11, c++14
#include <exception>
#include <stdlib.h>

View File

@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: libcxxabi-no-exceptions
// REQUIRES-ANY: c++98, c++03, c++11, c++14
#include <exception>
#include <stdlib.h>