[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
This commit is contained in:
Mark de Wever 2023-04-14 20:12:27 +02:00
parent 35f466eb14
commit b251879376
24 changed files with 23 additions and 26 deletions

View File

@ -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 <https://releases.llvm.org>`_ and the development version
Clang 15, 16, 17-git latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_ and the development version
AppleClang 14 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
Open XL 17.1 (AIX) latest stable release per `Open XL's documentation page <https://www.ibm.com/docs/en/openxl-c-and-cpp-aix>`_
GCC 12 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_

View File

@ -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

View File

@ -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

View File

@ -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 <source_location>

View File

@ -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);
//

View File

@ -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);
//

View File

@ -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<class G>
// constexpr expected& operator=(const unexpected<G>& e);

View File

@ -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<class G>
// constexpr expected& operator=(unexpected<G>&& e);

View File

@ -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<class... Args>
// constexpr T& emplace(Args&&... args) noexcept;

View File

@ -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<class U, class... Args>
// constexpr explicit expected(in_place_t, initializer_list<U> il, Args&&... args);

View File

@ -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<class U, class... Args>
// constexpr explicit expected(unexpect_t, initializer_list<U> il, Args&&... args);

View File

@ -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();
//

View File

@ -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)));

View File

@ -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);
//

View File

@ -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);
//

View File

@ -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<class G>
// constexpr expected& operator=(const unexpected<G>& e);

View File

@ -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<class G>
// constexpr expected& operator=(unexpected<G>&& e);

View File

@ -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;
//

View File

@ -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<class U, class... Args>
// constexpr explicit expected(unexpect_t, initializer_list<U> il, Args&&... args);

View File

@ -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();
//

View File

@ -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)));

View File

@ -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);
//

View File

@ -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

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// Triggers a Clang assertion: llvm.org/PR45879
// UNSUPPORTED: clang-14, clang-15
// UNSUPPORTED: clang-15
// <tuple>