[libc++] Remove test-suite annotations for unsupported Clang versions

Differential Revision: https://reviews.llvm.org/D108471
This commit is contained in:
Louis Dionne 2021-08-20 11:42:38 -04:00
parent 9807626bc7
commit 5425106e49
140 changed files with 58 additions and 306 deletions

View File

@ -17,7 +17,6 @@
// random_shuffle(RandomAccessIterator first, RandomAccessIterator last,
// RandomNumberGenerator& rand);
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03, c++11
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE

View File

@ -12,8 +12,7 @@
// disable them for now until their behavior can be designed better later.
// See https://reviews.llvm.org/D84049 for details.
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12
// UNSUPPORTED: apple-clang-12
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++03

View File

@ -13,9 +13,6 @@
// newer.
// UNSUPPORTED: c++11
// Clang doesn't support filename wildcards in verify tests until 05eedf1f5b44.
// UNSUPPORTED: clang-10
// <unordered_set>
// Test that we generate a reasonable diagnostic when the specified hash is

View File

@ -18,7 +18,6 @@
//
// Deprecated in C++11
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR

View File

@ -8,7 +8,6 @@
// <functional>
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS

View File

@ -13,10 +13,6 @@
// This test intentionally leaks memory, so it is unsupported under ASAN.
// UNSUPPORTED: asan
// AppleClang9 and GCC 5 don't support C++17's implicitly synthesized
// deduction guides from existing ctors, needed by default_searcher() below.
// UNSUPPORTED: apple-clang-9
// All entities to which libc++ applies [[nodiscard]] as an extension should
// be tested here and in nodiscard_extensions.fail.cpp. They should also
// be listed in `UsingLibcxx.rst` in the documentation for the extension.

View File

@ -9,10 +9,6 @@
// UNSUPPORTED: c++03
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
// guides from existing ctors, needed by default_searcher() below.
// UNSUPPORTED: apple-clang-9
// Test that entities declared [[nodiscard]] as an extension by libc++, are
// only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.

View File

@ -7,15 +7,11 @@
//===----------------------------------------------------------------------===//
// Make sure we get compile-time availability errors when trying to use aligned
// allocation/deallocation on deployment targets that don't support it.
// allocation/deallocation on deployment targets that don't support it (before macosx10.14).
// UNSUPPORTED: c++03, c++11, c++14
// Aligned allocation was not provided before macosx10.14.
// Support for that is broken prior to Clang 8 and Apple Clang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// REQUIRES: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
#include <new>

View File

@ -22,10 +22,6 @@
// nor does the dynamic library shipped with z/OS.
// UNSUPPORTED: target={{.+}}-zos{{.*}}
// AppleClang < 10 incorrectly warns that aligned allocation is not supported
// even when it is supported.
// UNSUPPORTED: apple-clang-9
// XFAIL: sanitizer-new-delete, ubsan
// GCC doesn't support the aligned-allocation flags.

View File

@ -8,10 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14
// AppleClang <= 10 enables aligned allocation regardless of the deployment
// target, so this test would fail.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
#include <new>

View File

@ -12,8 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_SHARED_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
// UNSUPPORTED: c++03
#include <memory>

View File

@ -12,8 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
#include <memory>
#include <cassert>

View File

@ -12,8 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
// UNSUPPORTED: c++03
#include <memory>

View File

@ -12,9 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
#include <memory>
#include <cassert>

View File

@ -12,8 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
#include <memory>
#include <cassert>

View File

@ -12,8 +12,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ABI_ENABLE_SHARED_PTR_TRIVIAL_ABI
// There were assertion failures in both parse and codegen, which are fixed in clang 11.
// UNSUPPORTED: gcc, clang-4, clang-5, clang-6, clang-7, clang-8, clang-9, clang-10
// XFAIL: gcc
#include <memory>
#include <cassert>

View File

@ -8,10 +8,6 @@
// UNSUPPORTED: libcpp-has-no-threads
// [[nodiscard]] on constructors isn't supported by all compilers
// UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11
// [[nodiscard]] isn't supported in C++03 (not even as an extension)
// UNSUPPORTED: c++03

View File

@ -8,9 +8,6 @@
// UNSUPPORTED: c++03
// Clang doesn't support filename wildcards in verify tests until 05eedf1f5b44.
// UNSUPPORTED: clang-10
#include <memory>
template <int> struct Tag {};

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter, OutputIterator<auto, InIter::reference> OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<BidirectionalIterator InIter, BidirectionalIterator OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter, OutputIterator<auto, InIter::reference> OutIter>

View File

@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// Older compilers don't support std::is_constant_evaluated
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: c++03
// <algorithm>

View File

@ -13,10 +13,6 @@
// OutIter
// move(InIter first, InIter last, OutIter result);
// Older compilers don't support std::is_constant_evaluated
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11
#include <algorithm>
#include <cassert>
#include <memory>

View File

@ -6,10 +6,6 @@
//
//===----------------------------------------------------------------------===//
// Older compilers don't support std::is_constant_evaluated
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
// UNSUPPORTED: apple-clang-9, apple-clang-10
// <algorithm>
// template<BidirectionalIterator InIter, BidirectionalIterator OutIter>

View File

@ -12,10 +12,6 @@
// Iter
// rotate(Iter first, Iter middle, Iter last);
// Older compilers don't support std::is_constant_evaluated
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
// UNSUPPORTED: apple-clang-9, apple-clang-10
#include <algorithm>
#include <cassert>
#include <memory>

View File

@ -12,10 +12,6 @@
// constexpr OutIter // constexpr after C++17
// rotate_copy(InIter first, InIter middle, InIter last, OutIter result);
// Older compilers don't support std::is_constant_evaluated
// UNSUPPORTED: clang-4, clang-5, clang-6, clang-7, clang-8
// UNSUPPORTED: apple-clang-9, apple-clang-10
#include <algorithm>
#include <cassert>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter,

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter,

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter,

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter>

View File

@ -6,8 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// <algorithm>
// template<InputIterator InIter1, InputIterator InIter2, typename OutIter,

View File

@ -6,7 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// UNSUPPORTED: c++03
// <algorithm>

View File

@ -6,10 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <map>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// clang-6 gives different error messages.
// <map>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -6,10 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <map>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// clang-6 gives different error messages.
// <map>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -6,10 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <set>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// clang-6 gives different error messages.
// <set>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <set>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: apple-clang-9.1
// <set>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -6,10 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <set>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// clang-6 gives different error messages.
// <set>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <set>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: apple-clang-9.1
// <set>
// template<class InputIterator,
// class Compare = less<iter-value-type<InputIterator>>,

View File

@ -8,9 +8,6 @@
// <queue>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-5, apple-clang-9
// Clang 5 will generate bad implicit deduction guides
// Specifically, for the copy constructor.
// template<class Container>
// queue(Container) -> queue<typename Container::value_type, Container>;

View File

@ -8,9 +8,6 @@
// <stack>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-5, apple-clang-9
// Clang 5 will generate bad implicit deduction guides
// Specifically, for the copy constructor.
// template<class Container>
// stack(Container) -> stack<typename Container::value_type, Container>;

View File

@ -8,9 +8,6 @@
// <array>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-5, apple-clang-9
// Clang 5 will generate bad implicit deduction guides
// Specifically, for the copy constructor.
// template <class T, class... U>
// array(T, U...) -> array<T, 1 + sizeof...(U)>;

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_map>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// <unordered_map>
// template<class InputIterator,
// class Hash = hash<iter-key-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_map>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// <unordered_map>
// template<class InputIterator,
// class Hash = hash<iter-key-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_set>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// <unordered_set>
// template<class InputIterator,
// class Hash = hash<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_set>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: apple-clang-9.1
// <unordered_set>
// template<class InputIterator,
// class Hash = hash<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_set>
// UNSUPPORTED: c++03, c++11, c++14
// XFAIL: clang-6, apple-clang-9.0, apple-clang-9.1, apple-clang-10.0.0
// <unordered_set>
// template<class InputIterator,
// class Hash = hash<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <unordered_set>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: apple-clang-9.1
// <unordered_set>
// template<class InputIterator,
// class Hash = hash<iter-value-type<InputIterator>>,

View File

@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// Before Clang 9.0, <float.h> does not define FLT_HAS_SUBNORM & friends in C++.
// XFAIL: clang-4, clang-5, clang-6, clang-7, clang-8
// test <float.h>
#include <float.h>

View File

@ -10,7 +10,6 @@
//
// bind1st
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS

View File

@ -10,7 +10,6 @@
//
// bind2nd
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS

View File

@ -10,7 +10,6 @@
//
// binder1st
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS

View File

@ -10,7 +10,6 @@
//
// binder2nd
// UNSUPPORTED: clang-4.0
// UNSUPPORTED: c++03
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS

View File

@ -8,11 +8,11 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0
// 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.
// UNSUPPORTED: msvc
// XFAIL: msvc
// <compare>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0
// UNSUPPORTED: apple-clang-12
// <compare>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0
// UNSUPPORTED: apple-clang-12
// <compare>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0
// UNSUPPORTED: apple-clang-12
// <compare>

View File

@ -14,9 +14,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-6, clang-7
#include <new>
#include <cassert>

View File

@ -10,12 +10,6 @@
// UNSUPPORTED: sanitizer-new-delete, c++03, c++11, c++14
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,
// nor does the dynamic library shipped with z/OS.
// UNSUPPORTED: target={{.+}}-zos{{.*}}

View File

@ -13,9 +13,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,

View File

@ -13,9 +13,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,

View File

@ -11,9 +11,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,

View File

@ -12,8 +12,7 @@
// NOTE: Clang does not enable sized-deallocation in C++14 and beyond by
// default. It is only enabled when -fsized-deallocation is given.
// (except clang-3.6 which temporarily enabled sized-deallocation)
// UNSUPPORTED: clang, apple-clang
// XFAIL: clang, apple-clang
#include <new>
#include <cstddef>

View File

@ -12,9 +12,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,
// nor does the dynamic library shipped with z/OS.

View File

@ -10,9 +10,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// asan and msan will not call the new handler.

View File

@ -10,9 +10,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// asan and msan will not call the new handler.

View File

@ -11,9 +11,6 @@
// 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, support for that was broken prior to Clang 8 and AppleClang 11.
// UNSUPPORTED: apple-clang-9, apple-clang-10
// UNSUPPORTED: clang-5, clang-6, clang-7
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13}}
// Libcxx when built for z/OS doesn't contain the aligned allocation functions,

View File

@ -12,8 +12,7 @@
// NOTE: Clang does not enable sized-deallocation in C++14 and beyond by
// default. It is only enabled when -fsized-deallocation is given.
// (except clang-3.6 which temporarily enabled sized-deallocation)
// UNSUPPORTED: clang, apple-clang
// XFAIL: clang, apple-clang
#include <new>
#include <cstddef>

View File

@ -14,7 +14,6 @@
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11}}
// NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation.
// REQUIRES: -fsized-deallocation
// ADDITIONAL_COMPILE_FLAGS: -fsized-deallocation, -O3

View File

@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// Before Clang 9.0, <float.h> does not define FLT_HAS_SUBNORM & friends in C++.
// XFAIL: clang-4, clang-5, clang-6, clang-7, clang-8
// test <cfloat>
#include <cfloat>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator Iter, MoveConstructible T>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator Iter, MoveConstructible T,

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator InIter,

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator InIter,

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator Iter1, InputIterator Iter2, MoveConstructible T>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator Iter1, InputIterator Iter2, MoveConstructible T,

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <class ForwardIterator, class T>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template <InputIterator InIter, OutputIterator<auto, const InIter::value_type&> OutIter>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: clang-8
// Became constexpr in C++20
// template<InputIterator InIter,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template<class InputIterator>

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template<class InputIterator, class T>

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template<class InputIterator, class T, class BinaryOperation>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template <class InputIterator1, class T,

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template <class InputIterator1, class InputIterator2, class T>

View File

@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
// <numeric>
// UNSUPPORTED: c++03, c++11, c++14
// UNSUPPORTED: clang-8
// <numeric>
// Became constexpr in C++20
// template <class InputIterator1, class InputIterator2, class T,

View File

@ -8,7 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: clang-10
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// unspecified begin;
@ -19,11 +18,9 @@
using begin_t = decltype(std::ranges::begin);
// clang-format off
template <class T>
requires(!std::invocable<begin_t&, T>)
void f() {}
// clang-format on
void test() {
struct incomplete;

View File

@ -8,7 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: clang-10
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// ranges::cbegin;
@ -19,11 +18,9 @@
using cbegin_t = decltype(std::ranges::cbegin);
// clang-format off
template <class T>
requires(!std::invocable<cbegin_t&, T>)
void f() {}
// clang-format on
void test() {
struct incomplete;

View File

@ -8,7 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: clang-10
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// unspecified begin;
@ -19,11 +18,9 @@
using cend_t = decltype(std::ranges::cend);
// clang-format off
template <class T>
requires(!std::invocable<cend_t&, T>)
void f() {}
// clang-format on
void test() {
struct incomplete;

View File

@ -8,7 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: clang-10
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// unspecified begin;
@ -19,11 +18,9 @@
using end_t = decltype(std::ranges::end);
// clang-format off
template <class T>
requires(!std::invocable<end_t&, T>)
void f() {}
// clang-format on
void test() {
struct incomplete;

View File

@ -8,7 +8,6 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: clang-10
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// std::ranges::data

Some files were not shown because too many files have changed in this diff Show More