From b251879376735da180c8328827211924b2d9937e Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Fri, 14 Apr 2023 20:12:27 +0200 Subject: [PATCH] [libc++] Removes Clang 14 support. Per our policy we only support the last two releases. Reviewed By: #libc, EricWF, philnik Differential Revision: https://reviews.llvm.org/D148359 --- libcxx/docs/index.rst | 2 +- libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp | 3 --- libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp | 2 +- libcxx/test/std/language.support/support.srcloc/general.pass.cpp | 2 +- .../utilities/expected/expected.expected/assign/assign.copy.pass.cpp | 2 +- .../utilities/expected/expected.expected/assign/assign.move.pass.cpp | 2 +- .../expected/expected.expected/assign/assign.unexpected.copy.pass.cpp | 2 +- .../expected/expected.expected/assign/assign.unexpected.move.pass.cpp | 2 +- .../std/utilities/expected/expected.expected/assign/emplace.pass.cpp | 2 +- .../expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp | 2 +- .../expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp | 2 +- libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp | 2 +- .../std/utilities/expected/expected.expected/swap/free.swap.pass.cpp | 2 +- .../std/utilities/expected/expected.void/assign/assign.copy.pass.cpp | 2 +- .../std/utilities/expected/expected.void/assign/assign.move.pass.cpp | 2 +- .../expected/expected.void/assign/assign.unexpected.copy.pass.cpp | 2 +- .../expected/expected.void/assign/assign.unexpected.move.pass.cpp | 2 +- .../test/std/utilities/expected/expected.void/assign/emplace.pass.cpp | 2 +- .../expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp | 2 +- libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp | 2 +- .../test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp | 2 +- .../std/utilities/expected/expected.void/swap/member.swap.pass.cpp | 2 +- .../func.wrap.func/func.wrap.func.con/ctad.static.compile.pass.cpp | 2 +- .../std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp | 2 +- 24 files changed, 23 insertions(+), 26 deletions(-) diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst index abcdeab..be89c17 100644 --- a/libcxx/docs/index.rst +++ b/libcxx/docs/index.rst @@ -106,7 +106,7 @@ velocity, libc++ drops support for older compilers as newer ones are released. ============ =============== ========================== ===================== Compiler Versions Restrictions Support policy ============ =============== ========================== ===================== -Clang 14, 15, 16-git latest two stable releases per `LLVM's release page `_ and the development version +Clang 15, 16, 17-git latest two stable releases per `LLVM's release page `_ and the development version AppleClang 14 latest stable release per `Xcode's release page `_ Open XL 17.1 (AIX) latest stable release per `Open XL's documentation page `_ GCC 12 In C++11 or later only latest stable release per `GCC's release page `_ diff --git a/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp b/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp index 5996e0c..1584176 100644 --- a/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp +++ b/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp @@ -12,9 +12,6 @@ // GCC does not support the -fexperimental-library flag // UNSUPPORTED: gcc -// Clang does not support the -fexperimental-library flag before LLVM 15.0 -// UNSUPPORTED: clang-14 - // AppleClang does not support the -fexperimental-library flag yet // UNSUPPORTED: apple-clang-14.0 diff --git a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp index c8529f9..cdae8e8 100644 --- a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp +++ b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp @@ -12,7 +12,7 @@ // UNSUPPORTED: c++03 // TODO: Investigate these failures which break the CI. -// UNSUPPORTED: clang-14, clang-15, clang-16, clang-17 +// UNSUPPORTED: clang-15, clang-16, clang-17 // TODO: Investigate this failure on GCC 12 (in Ubuntu Jammy) // UNSUPPORTED: gcc-12 diff --git a/libcxx/test/std/language.support/support.srcloc/general.pass.cpp b/libcxx/test/std/language.support/support.srcloc/general.pass.cpp index 70861ee..761cd66 100644 --- a/libcxx/test/std/language.support/support.srcloc/general.pass.cpp +++ b/libcxx/test/std/language.support/support.srcloc/general.pass.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 -// UNSUPPORTED: clang-14, clang-15 +// UNSUPPORTED: clang-15 // UNSUPPORTED: apple-clang-14 #include diff --git a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp index d4496ba..cec3858 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.copy.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr expected& operator=(const expected& rhs); // diff --git a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp index b247ed3..ae6cc72 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.move.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr expected& operator=(expected&& rhs) noexcept(see below); // diff --git a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp index a45dd45..748ec66 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.copy.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr expected& operator=(const unexpected& e); diff --git a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp index cb56d30..ef6c808 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/assign/assign.unexpected.move.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr expected& operator=(unexpected&& e); diff --git a/libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp index 66c066d..30392b7 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/assign/emplace.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr T& emplace(Args&&... args) noexcept; diff --git a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp index 3e85f87..3d62967 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.inplace_init_list.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr explicit expected(in_place_t, initializer_list il, Args&&... args); diff --git a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp index 20ab114..09bfb53 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/ctor/ctor.unexpect_init_list.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr explicit expected(unexpect_t, initializer_list il, Args&&... args); diff --git a/libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp index 6abbe51..62bc9c3 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/dtor.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr ~expected(); // diff --git a/libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp index 3ea128a..2a004b0 100644 --- a/libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.expected/swap/free.swap.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, clang-15, apple-clang-14 +// XFAIL: clang-15, apple-clang-14 // friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(x.swap(y))); diff --git a/libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp index 00af326..89c4b69 100644 --- a/libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/assign/assign.copy.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr expected& operator=(const expected& rhs); // diff --git a/libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp index 878908d..3954cda 100644 --- a/libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/assign/assign.move.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr expected& operator=(expected&& rhs) noexcept(see below); // diff --git a/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp index 3d8466d..c42563b 100644 --- a/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.copy.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr expected& operator=(const unexpected& e); diff --git a/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp index e07fb5c..d069af8 100644 --- a/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/assign/assign.unexpected.move.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr expected& operator=(unexpected&& e); diff --git a/libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp index b3aa5f7..3d178da 100644 --- a/libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/assign/emplace.pass.cpp @@ -8,7 +8,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr void emplace() noexcept; // diff --git a/libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp index 4115ead..f116432 100644 --- a/libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/ctor/ctor.unexpect_init_list.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // template // constexpr explicit expected(unexpect_t, initializer_list il, Args&&... args); diff --git a/libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp index 8ca92ec..6195040 100644 --- a/libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/dtor.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr ~expected(); // diff --git a/libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp index 0f5821e..b293fe2 100644 --- a/libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/swap/free.swap.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, clang-15, apple-clang-14 +// XFAIL: clang-15, apple-clang-14 // friend constexpr void swap(expected& x, expected& y) noexcept(noexcept(swap(x,y))); diff --git a/libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp b/libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp index 247d92a..3eed916d 100644 --- a/libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp +++ b/libcxx/test/std/utilities/expected/expected.void/swap/member.swap.pass.cpp @@ -7,7 +7,7 @@ // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 // Older Clangs do not support the C++20 feature to constrain destructors -// XFAIL: clang-14, apple-clang-14 +// XFAIL: apple-clang-14 // constexpr void swap(expected& rhs) noexcept(see below); // diff --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ctad.static.compile.pass.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ctad.static.compile.pass.cpp index df7de4c..790e89b 100644 --- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ctad.static.compile.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ctad.static.compile.pass.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 -// XFAIL: clang-14, clang-15, gcc-12, apple-clang-14 +// XFAIL: clang-15, gcc-12, apple-clang-14 // checks that CTAD for std::function works properly with static operator() overloads diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp index db03f24..c1d3659 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/convert_copy.pass.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // Triggers a Clang assertion: llvm.org/PR45879 -// UNSUPPORTED: clang-14, clang-15 +// UNSUPPORTED: clang-15 // -- 2.7.4