[libc++] Bump minimum compiler requirements
Now that we've branched for the LLVM 14 release, our support window moves to clang-13 and clang-14. Similarly, AppleClang 13 has been released for some time now, so that should be the oldest compiler we support, per our policy. A possible follow-up would be to remove _LIBCPP_HAS_NO_CONCEPTS, since I don't think we support any compiler that doesn't support concepts anymore. Differential Revision: https://reviews.llvm.org/D118831
This commit is contained in:
parent
43591be2aa
commit
28e82982fe
|
@ -104,8 +104,8 @@ velocity, libc++ drops support for older compilers as newer ones are released.
|
|||
============ =============== ========================== =====================
|
||||
Compiler Versions Restrictions Support policy
|
||||
============ =============== ========================== =====================
|
||||
Clang 12, 13 latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_
|
||||
AppleClang 12 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
|
||||
Clang 13, 14 latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_
|
||||
AppleClang 13 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 11 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
|
||||
============ =============== ========================== =====================
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
// disable them for now until their behavior can be designed better later.
|
||||
// See https://reviews.llvm.org/D84049 for details.
|
||||
|
||||
// UNSUPPORTED: apple-clang-12, apple-clang-13, apple-clang-14
|
||||
// UNSUPPORTED: clang-12, clang-13
|
||||
// UNSUPPORTED: apple-clang-13, apple-clang-14
|
||||
// UNSUPPORTED: clang-13
|
||||
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr span& operator=(const span& other) noexcept = default;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr span(const span& other) noexcept = default;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
#include <span>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class It>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class It>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class It, class End>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===---------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class It, class End>
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<class R>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr reference back() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr pointer data() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr reference front() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr reference operator[](size_type idx) const;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr iterator begin() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr iterator end() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr reverse_iterator rbegin() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr reverse_iterator rend() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class ElementType, size_t Extent>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class ElementType, size_t Extent>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template <class ElementType, size_t Extent>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// [[nodiscard]] constexpr bool empty() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr size_type size() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// constexpr size_type size_bytes() const noexcept;
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Count>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Count>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Count>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Count>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Offset, size_t Count = dynamic_extent>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// AppleClang 12.0.0 doesn't fully support ranges/concepts
|
||||
// XFAIL: apple-clang-12.0.0
|
||||
|
||||
// <span>
|
||||
|
||||
// template<size_t Offset, size_t Count = dynamic_extent>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: apple-clang-12
|
||||
|
||||
// In MSVC mode, there's a slightly different number of errors printed for
|
||||
// each of these, so it doesn't add up to the exact expected count of 18.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: apple-clang-12
|
||||
|
||||
// <compare>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: apple-clang-12
|
||||
|
||||
// <compare>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: apple-clang-12
|
||||
|
||||
// <compare>
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// UNSUPPORTED: apple-clang-12
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -203,8 +203,8 @@ steps:
|
|||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
- label: "Clang 12"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-12"
|
||||
- label: "Clang 13"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-13"
|
||||
artifact_paths:
|
||||
- "**/test-results.xml"
|
||||
- "**/*.abilist"
|
||||
|
@ -217,8 +217,8 @@ steps:
|
|||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
- label: "Clang 13"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-13"
|
||||
- label: "Clang 14"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-14"
|
||||
artifact_paths:
|
||||
- "**/test-results.xml"
|
||||
- "**/*.abilist"
|
||||
|
|
|
@ -276,18 +276,18 @@ generic-static)
|
|||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-static.cfg.in"
|
||||
check-runtimes
|
||||
;;
|
||||
generic-clang-12)
|
||||
export CC=clang-12
|
||||
export CXX=clang++-12
|
||||
generic-clang-13)
|
||||
export CC=clang-13
|
||||
export CXX=clang++-13
|
||||
clean
|
||||
generate-cmake -DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \
|
||||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
check-runtimes
|
||||
check-abi-list
|
||||
;;
|
||||
generic-clang-13)
|
||||
export CC=clang-13
|
||||
export CXX=clang++-13
|
||||
generic-clang-14)
|
||||
export CC=clang-14
|
||||
export CXX=clang++-14
|
||||
clean
|
||||
generate-cmake -DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \
|
||||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
|
|
Loading…
Reference in a new issue