diff options
| author | Louis Dionne <ldionne@apple.com> | 2020-03-23 11:37:40 -0400 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2020-03-23 12:17:04 -0400 |
| commit | 3c84aca9b357f8c49eacf69a72c9281fb96dd72f (patch) | |
| tree | e407b27910dc613de5b8b5b61cc97214cddc9907 | |
| parent | 7e10581e8c15af39e6f0820768c5d43587f9088d (diff) | |
| download | llvm-3c84aca9b357f8c49eacf69a72c9281fb96dd72f.zip llvm-3c84aca9b357f8c49eacf69a72c9281fb96dd72f.tar.gz llvm-3c84aca9b357f8c49eacf69a72c9281fb96dd72f.tar.bz2 | |
[libc++] Bump Clang support for Clang 4
It's hard to imagine someone using a recent version of libc++ with a
roughly 3 years old Clang. Since we're not testing libc++ with Clang 3.5
anyway, claiming support for it is somewhat of a lie.
Note that we don't test Clang 4 either, however I have no reason to bump
the requirement beyond Clang 4 at the moment, whereas removing Clang 3.5
allows simplifying the test suite.
Differential Revision: https://reviews.llvm.org/D76618
10 files changed, 1 insertions, 28 deletions
diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst index 7abdb10..f763f3aa 100644 --- a/libcxx/docs/index.rst +++ b/libcxx/docs/index.rst @@ -100,7 +100,7 @@ Linux i386, x86_64 Clang, GCC libc++abi The following minimum compiler versions are strongly recommended. -* Clang 3.5 and above +* Clang 4.0 and above * GCC 5.0 and above. The C++03 dialect is only supported for Clang compilers. diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp index e303c82..edd4e52 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp @@ -11,9 +11,6 @@ // asan and msan will not call the new handler. // UNSUPPORTED: sanitizer-new-delete -// FIXME change this to XFAIL. -// UNSUPPORTED: no-aligned-allocation && !gcc - // Aligned allocation was not provided before macosx10.14 and as a result we // get availability errors when the deployment target is older than macosx10.14. // However, AppleClang 10 (and older) don't trigger availability errors, and diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp index ed7a537..91e3a1b 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp @@ -11,9 +11,6 @@ // asan and msan will not call the new handler. // UNSUPPORTED: sanitizer-new-delete -// FIXME turn this into an XFAIL -// UNSUPPORTED: no-aligned-allocation && !gcc - // Aligned allocation was not provided before macosx10.14 and as a result we // get availability errors when the deployment target is older than macosx10.14. // However, AppleClang 10 (and older) don't trigger availability errors, and diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp index 49aa2bc..5aa47a5 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp @@ -31,8 +31,6 @@ // XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8 // XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7 -// XFAIL: no-aligned-allocation && !gcc - // On Windows libc++ doesn't provide its own definitions for new/delete // but instead depends on the ones in VCRuntime. However VCRuntime does not // yet provide aligned new/delete definitions so this test fails. diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp index cb9a2ef7..3cc153e 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp @@ -9,9 +9,6 @@ // UNSUPPORTED: c++98, c++03, c++11, c++14 // UNSUPPORTED: sanitizer-new-delete -// NOTE: GCC doesn't provide the -faligned-allocation flag to test for -// XFAIL: no-aligned-allocation && !gcc - // test operator new replacement #include <new> diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp index 0d96db5..f0da4d6 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp @@ -33,9 +33,6 @@ // asan and msan will not call the new handler. // UNSUPPORTED: sanitizer-new-delete -// FIXME turn this into an XFAIL -// UNSUPPORTED: no-aligned-allocation && !gcc - // On Windows libc++ doesn't provide its own definitions for new/delete // but instead depends on the ones in VCRuntime. However VCRuntime does not // yet provide aligned new/delete definitions so this test fails to compile/link. diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp index 4b621f7..7edb003 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp @@ -33,9 +33,6 @@ // asan and msan will not call the new handler. // UNSUPPORTED: sanitizer-new-delete -// FIXME turn this into an XFAIL -// UNSUPPORTED: no-aligned-allocation && !gcc - // On Windows libc++ doesn't provide its own definitions for new/delete // but instead depends on the ones in VCRuntime. However VCRuntime does not // yet provide aligned new/delete definitions so this test fails to compile/link. diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp index 892eac2..95931b7 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp @@ -31,9 +31,6 @@ // XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.8 // XFAIL: (apple-clang-9 || apple-clang-10) && with_system_cxx_lib=macosx10.7 -// NOTE: gcc doesn't provide -faligned-allocation flag to test for -// XFAIL: no-aligned-allocation && !gcc - // On Windows libc++ doesn't provide its own definitions for new/delete // but instead depends on the ones in VCRuntime. However VCRuntime does not // yet provide aligned new/delete definitions so this test fails. diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp index 32c27d5..3a17266 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp @@ -9,9 +9,6 @@ // UNSUPPORTED: c++98, c++03, c++11, c++14 // UNSUPPORTED: sanitizer-new-delete -// NOTE: GCC doesn't provide a -faligned-allocation flag -// XFAIL: no-aligned-allocation && !gcc - // test operator new replacement #include <new> diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index cc76914..a9a3539 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -452,10 +452,6 @@ class Configuration(object): if self.cxx.hasCompileFlag('-faligned-allocation'): self.config.available_features.add('-faligned-allocation') - else: - # FIXME remove this once more than just clang-4.0 support - # C++17 aligned allocation. - self.config.available_features.add('no-aligned-allocation') if self.cxx.hasCompileFlag('-fdelayed-template-parsing'): self.config.available_features.add('fdelayed-template-parsing') |
