https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/144101
The tests in `libcxx/test/libcxx` aren't run against the frozen headers anymore, so we can remove any XFAILs in them. This is part of https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc. >From e080572b8168260ecb4c8b2be39111d579056f74 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser <nikolasklau...@berlin.de> Date: Fri, 13 Jun 2025 17:49:01 +0200 Subject: [PATCH] [libc++][C++03] Remove XFAILs from the non-frozen libc++-specific tests --- libcxx/test/libcxx/algorithms/half_positive.pass.cpp | 2 -- libcxx/test/libcxx/algorithms/vectorization.compile.pass.cpp | 2 -- .../assertions/customize_verbose_abort.link-time.pass.cpp | 2 -- libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp | 2 -- libcxx/test/libcxx/assertions/modes/none.pass.cpp | 2 -- libcxx/test/libcxx/assertions/single_expression.pass.cpp | 2 -- .../atomics.types.operations.req/atomic_fetch_add.verify.cpp | 2 -- .../atomic_fetch_add_explicit.verify.cpp | 2 -- .../atomics.types.operations.req/atomic_fetch_sub.verify.cpp | 2 -- .../atomic_fetch_sub_explicit.verify.cpp | 2 -- libcxx/test/libcxx/clang_modules_include.gen.py | 2 -- libcxx/test/libcxx/clang_tidy.gen.py | 3 --- .../containers/associative/tree_balance_after_insert.pass.cpp | 2 -- .../containers/associative/tree_key_value_traits.pass.cpp | 2 -- .../libcxx/containers/associative/tree_left_rotate.pass.cpp | 2 -- libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp | 2 -- .../libcxx/containers/associative/tree_right_rotate.pass.cpp | 2 -- .../containers/associative/unord.map/abi.compile.pass.cpp | 2 -- .../containers/associative/unord.set/abi.compile.pass.cpp | 2 -- .../test/libcxx/containers/container_traits.compile.pass.cpp | 2 -- libcxx/test/libcxx/containers/unord/key_value_traits.pass.cpp | 2 -- libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp | 2 -- libcxx/test/libcxx/containers/unord/next_prime.pass.cpp | 2 -- libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp | 2 -- .../libcxx/experimental/fexperimental-library.compile.pass.cpp | 2 -- libcxx/test/libcxx/header_inclusions.gen.py | 1 - .../string.streams/stringbuf/const_sso_buffer.pass.cpp | 2 -- libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp | 2 -- libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp | 2 -- libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp | 2 -- .../test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp | 2 -- .../test/libcxx/iterators/bounded_iter/types.compile.pass.cpp | 2 -- .../iterators/contiguous_iterators.conv.compile.pass.cpp | 2 -- libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp | 2 -- .../iterator.primitives/iterator.operations/prev.verify.cpp | 2 -- .../language.support/support.dynamic/libcpp_deallocate.sh.cpp | 2 -- libcxx/test/libcxx/memory/allocation_guard.pass.cpp | 2 -- libcxx/test/libcxx/memory/swap_allocator.pass.cpp | 2 -- libcxx/test/libcxx/numerics/bit.ops.pass.cpp | 2 -- libcxx/test/libcxx/numerics/clamp_to_integral.pass.cpp | 2 -- .../libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp | 2 -- libcxx/test/libcxx/selftest/test_macros.pass.cpp | 2 -- .../strings/basic.string/string.capacity/max_size.pass.cpp | 2 -- .../test/libcxx/strings/c.strings/constexpr_memmove.pass.cpp | 2 -- libcxx/test/libcxx/system_reserved_names.gen.py | 2 -- libcxx/test/libcxx/transitive_includes.gen.py | 2 -- libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp | 2 -- libcxx/test/libcxx/type_traits/desugars_to.compile.pass.cpp | 2 -- libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp | 2 -- libcxx/test/libcxx/type_traits/is_replaceable.compile.pass.cpp | 2 -- .../type_traits/is_trivially_comparable.compile.pass.cpp | 2 -- .../type_traits/is_trivially_relocatable.compile.pass.cpp | 2 -- libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp | 2 -- .../function.objects/refwrap/desugars_to.compile.pass.cpp | 2 -- libcxx/test/libcxx/utilities/is_pointer_in_range.pass.cpp | 2 -- libcxx/test/libcxx/utilities/is_valid_range.pass.cpp | 2 -- .../libcxx/utilities/meta/is_referenceable.compile.pass.cpp | 2 -- libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp | 2 -- libcxx/test/libcxx/utilities/no_destroy.pass.cpp | 2 -- libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp | 2 -- .../utilities/utility/private_constructor_tag.compile.pass.cpp | 2 -- 61 files changed, 122 deletions(-) diff --git a/libcxx/test/libcxx/algorithms/half_positive.pass.cpp b/libcxx/test/libcxx/algorithms/half_positive.pass.cpp index 88a18e8592921..40f4697419572 100644 --- a/libcxx/test/libcxx/algorithms/half_positive.pass.cpp +++ b/libcxx/test/libcxx/algorithms/half_positive.pass.cpp @@ -11,8 +11,6 @@ // __half_positive divides an integer number by 2 as unsigned number for known types. // It can be an important optimization for lower bound, for example. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__algorithm/half_positive.h> #include <cassert> #include <cstddef> diff --git a/libcxx/test/libcxx/algorithms/vectorization.compile.pass.cpp b/libcxx/test/libcxx/algorithms/vectorization.compile.pass.cpp index 733a147b80cc3..61f925ddcdcd1 100644 --- a/libcxx/test/libcxx/algorithms/vectorization.compile.pass.cpp +++ b/libcxx/test/libcxx/algorithms/vectorization.compile.pass.cpp @@ -9,8 +9,6 @@ // We don't know how to vectorize algorithms on GCC // XFAIL: gcc -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // We don't vectorize algorithms before C++14 // XFAIL: c++03, c++11 diff --git a/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp b/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp index 390c6b6db190d..21e9003c30b70 100644 --- a/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp +++ b/libcxx/test/libcxx/assertions/customize_verbose_abort.link-time.pass.cpp @@ -12,8 +12,6 @@ // failures when back-deploying. // XFAIL: availability-verbose_abort-missing -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__verbose_abort> #include <cstdlib> diff --git a/libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp b/libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp index 803868b757794..0cc4b1e005226 100644 --- a/libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp +++ b/libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp @@ -9,8 +9,6 @@ // Test that the default verbose termination function aborts the program. // XFAIL: availability-verbose_abort-missing -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__verbose_abort> #include <csignal> #include <cstdlib> diff --git a/libcxx/test/libcxx/assertions/modes/none.pass.cpp b/libcxx/test/libcxx/assertions/modes/none.pass.cpp index b64290a31a129..8332848c1a8e0 100644 --- a/libcxx/test/libcxx/assertions/modes/none.pass.cpp +++ b/libcxx/test/libcxx/assertions/modes/none.pass.cpp @@ -11,8 +11,6 @@ // REQUIRES: libcpp-hardening-mode=none -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__assert> #include <cassert> diff --git a/libcxx/test/libcxx/assertions/single_expression.pass.cpp b/libcxx/test/libcxx/assertions/single_expression.pass.cpp index 474edc9dc0833..13253e4cb6ef5 100644 --- a/libcxx/test/libcxx/assertions/single_expression.pass.cpp +++ b/libcxx/test/libcxx/assertions/single_expression.pass.cpp @@ -10,8 +10,6 @@ // This is useful so we can use them in places that require an expression, such as // in a constructor initializer list. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__assert> #include <cassert> diff --git a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.verify.cpp b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.verify.cpp index 320ef57dcb6f9..f114efe4e64da 100644 --- a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.verify.cpp +++ b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.verify.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <atomic> // template <class T> diff --git a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.verify.cpp b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.verify.cpp index bdd8089feb281..04e9c458321df 100644 --- a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.verify.cpp +++ b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.verify.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <atomic> // template <class T> diff --git a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.verify.cpp b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.verify.cpp index 2c9f89891d5be..dd95c23273733 100644 --- a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.verify.cpp +++ b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.verify.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <atomic> // template <class T> diff --git a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.verify.cpp b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.verify.cpp index 88c42750b608a..b4d4f0a1fc70d 100644 --- a/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.verify.cpp +++ b/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.verify.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <atomic> // template <class T> diff --git a/libcxx/test/libcxx/clang_modules_include.gen.py b/libcxx/test/libcxx/clang_modules_include.gen.py index 379ac22c8f47f..dc815d9c772b5 100644 --- a/libcxx/test/libcxx/clang_modules_include.gen.py +++ b/libcxx/test/libcxx/clang_modules_include.gen.py @@ -52,8 +52,6 @@ // TODO: Fix seemingly circular inclusion or <wchar.h> on AIX // UNSUPPORTED: LIBCXX-AIX-FIXME -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - {lit_header_restrictions.get(header, '')} {lit_header_undeprecations.get(header, '')} diff --git a/libcxx/test/libcxx/clang_tidy.gen.py b/libcxx/test/libcxx/clang_tidy.gen.py index dbab2875e3126..1663f5c396bbf 100644 --- a/libcxx/test/libcxx/clang_tidy.gen.py +++ b/libcxx/test/libcxx/clang_tidy.gen.py @@ -24,9 +24,6 @@ // REQUIRES: has-clang-tidy -// The frozen headers should not be updated to the latest libc++ style, so don't test. -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - // The GCC compiler flags are not always compatible with clang-tidy. // UNSUPPORTED: gcc diff --git a/libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp b/libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp index ccd84af44c3a5..4fb9d8e6775ae 100644 --- a/libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp @@ -13,8 +13,6 @@ // void // __tree_balance_after_insert(_NodePtr __root, _NodePtr __x) -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__tree> #include <cassert> diff --git a/libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp b/libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp index 04dcb8f54fafc..472969fadb266 100644 --- a/libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/tree_key_value_traits.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__tree> #include <map> #include <set> diff --git a/libcxx/test/libcxx/containers/associative/tree_left_rotate.pass.cpp b/libcxx/test/libcxx/containers/associative/tree_left_rotate.pass.cpp index d97a1c89f1f70..e6cc646f3c137 100644 --- a/libcxx/test/libcxx/containers/associative/tree_left_rotate.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/tree_left_rotate.pass.cpp @@ -13,8 +13,6 @@ // void // __tree_left_rotate(_NodePtr __x); -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__tree> #include <cassert> diff --git a/libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp b/libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp index e543c3360a685..dd9e7afcdb7d3 100644 --- a/libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp @@ -13,8 +13,6 @@ // void // __tree_remove(_NodePtr __root, _NodePtr __z) -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__tree> #include <cassert> diff --git a/libcxx/test/libcxx/containers/associative/tree_right_rotate.pass.cpp b/libcxx/test/libcxx/containers/associative/tree_right_rotate.pass.cpp index b86446f5be101..f3297dedb64e5 100644 --- a/libcxx/test/libcxx/containers/associative/tree_right_rotate.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/tree_right_rotate.pass.cpp @@ -13,8 +13,6 @@ // void // __tree_right_rotate(_NodePtr __x); -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__tree> #include <cassert> diff --git a/libcxx/test/libcxx/containers/associative/unord.map/abi.compile.pass.cpp b/libcxx/test/libcxx/containers/associative/unord.map/abi.compile.pass.cpp index 55d42a8d017e1..cea074a4e70f1 100644 --- a/libcxx/test/libcxx/containers/associative/unord.map/abi.compile.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/unord.map/abi.compile.pass.cpp @@ -12,8 +12,6 @@ // unordered containers changes when bounded unique_ptr is enabled. // UNSUPPORTED: libcpp-has-abi-bounded-unique_ptr -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <cstdint> #include <unordered_map> diff --git a/libcxx/test/libcxx/containers/associative/unord.set/abi.compile.pass.cpp b/libcxx/test/libcxx/containers/associative/unord.set/abi.compile.pass.cpp index bee2012bbea29..2a112aff227d8 100644 --- a/libcxx/test/libcxx/containers/associative/unord.set/abi.compile.pass.cpp +++ b/libcxx/test/libcxx/containers/associative/unord.set/abi.compile.pass.cpp @@ -12,8 +12,6 @@ // unordered containers changes when bounded unique_ptr is enabled. // UNSUPPORTED: libcpp-has-abi-bounded-unique_ptr -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <cstdint> #include <unordered_set> diff --git a/libcxx/test/libcxx/containers/container_traits.compile.pass.cpp b/libcxx/test/libcxx/containers/container_traits.compile.pass.cpp index 22be217487951..1452bfbaf3960 100644 --- a/libcxx/test/libcxx/containers/container_traits.compile.pass.cpp +++ b/libcxx/test/libcxx/containers/container_traits.compile.pass.cpp @@ -9,8 +9,6 @@ // <__type_traits/container_traits.h> // -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/container_traits.h> #include <deque> diff --git a/libcxx/test/libcxx/containers/unord/key_value_traits.pass.cpp b/libcxx/test/libcxx/containers/unord/key_value_traits.pass.cpp index e00a028489a72..b93bb93dcb7b1 100644 --- a/libcxx/test/libcxx/containers/unord/key_value_traits.pass.cpp +++ b/libcxx/test/libcxx/containers/unord/key_value_traits.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__hash_table> #include <unordered_map> #include <unordered_set> diff --git a/libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp b/libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp index 53a1dd2d3fa76..8a9e1da01592e 100644 --- a/libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp +++ b/libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp @@ -18,8 +18,6 @@ // If n <= 1, return n. If n is a power of 2, return n. // Otherwise, return the next power of 2. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__hash_table> #include <cassert> #include <cstdint> diff --git a/libcxx/test/libcxx/containers/unord/next_prime.pass.cpp b/libcxx/test/libcxx/containers/unord/next_prime.pass.cpp index 44b0eb96e2b9b..c4daabb63e4cf 100644 --- a/libcxx/test/libcxx/containers/unord/next_prime.pass.cpp +++ b/libcxx/test/libcxx/containers/unord/next_prime.pass.cpp @@ -16,8 +16,6 @@ // If n == 0, return 0, else return the lowest prime greater than or equal to n -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__hash_table> #include <cassert> #include <cstddef> diff --git a/libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp b/libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp index f756aacbc1cd5..d0ac71739d7e3 100644 --- a/libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp +++ b/libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp @@ -10,8 +10,6 @@ // that we don't want to support and can't support with LSV enabled. // UNSUPPORTED: clang-modules-build -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // Sometimes C++'s <foo.h> headers get included within extern "C" contexts. This // is ill-formed (no diagnostic required), per [using.headers]p3, but we permit // it as an extension. diff --git a/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp b/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp index 3cf497da233fb..5449d735d875a 100644 --- a/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp +++ b/libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp @@ -14,8 +14,6 @@ // ADDITIONAL_COMPILE_FLAGS: -fexperimental-library -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <version> #if !_LIBCPP_HAS_EXPERIMENTAL_PSTL diff --git a/libcxx/test/libcxx/header_inclusions.gen.py b/libcxx/test/libcxx/header_inclusions.gen.py index e00cf180d17ad..d1a413a6b463c 100644 --- a/libcxx/test/libcxx/header_inclusions.gen.py +++ b/libcxx/test/libcxx/header_inclusions.gen.py @@ -46,7 +46,6 @@ print( f"""\ //--- {header}.compile.pass.cpp -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME {lit_header_restrictions.get(header, '')} {lit_header_undeprecations.get(header, '')} diff --git a/libcxx/test/libcxx/input.output/string.streams/stringbuf/const_sso_buffer.pass.cpp b/libcxx/test/libcxx/input.output/string.streams/stringbuf/const_sso_buffer.pass.cpp index 2b6c3802a56b6..d6caa3389b8fa 100644 --- a/libcxx/test/libcxx/input.output/string.streams/stringbuf/const_sso_buffer.pass.cpp +++ b/libcxx/test/libcxx/input.output/string.streams/stringbuf/const_sso_buffer.pass.cpp @@ -8,8 +8,6 @@ // <sstream> -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // How the constructors of basic_stringbuf initialize the buffer pointers is // not specified. For some constructors it's implementation defined whether the // pointers are set to nullptr. Libc++'s implementation directly uses the SSO diff --git a/libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp b/libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp index 33774578e2337..60587d5bfe5d7 100644 --- a/libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp +++ b/libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp @@ -8,8 +8,6 @@ // ADDITIONAL_COMPILE_FLAGS(clang): -Wprivate-header -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__iterator/aliasing_iterator.h> #include <cassert> diff --git a/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp index 3fc735b441676..45d0cc3b95f90 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/arithmetic.pass.cpp @@ -11,8 +11,6 @@ // // Arithmetic operators -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__iterator/bounded_iter.h> #include <cstddef> diff --git a/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp index a12b77afa0db0..cef2157469c8f 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/comparison.pass.cpp @@ -11,8 +11,6 @@ // // Comparison operators -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <concepts> #include <__iterator/bounded_iter.h> diff --git a/libcxx/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp index 22ad8c6706d6f..bfd779d644f51 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/pointer_traits.pass.cpp @@ -11,8 +11,6 @@ // // std::pointer_traits specialization -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__iterator/bounded_iter.h> #include <cassert> #include <cstddef> diff --git a/libcxx/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp b/libcxx/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp index d205c5b03ee3f..56ded9ae5ed21 100644 --- a/libcxx/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/bounded_iter/types.compile.pass.cpp @@ -11,8 +11,6 @@ // // Nested types -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__iterator/bounded_iter.h> #include <cstddef> #include <iterator> diff --git a/libcxx/test/libcxx/iterators/contiguous_iterators.conv.compile.pass.cpp b/libcxx/test/libcxx/iterators/contiguous_iterators.conv.compile.pass.cpp index 4d3690953070f..372559594143e 100644 --- a/libcxx/test/libcxx/iterators/contiguous_iterators.conv.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/contiguous_iterators.conv.compile.pass.cpp @@ -15,8 +15,6 @@ // Verify that libc++-wrapped iterators do not permit slicing conversion or construction. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <array> #include <span> #include <type_traits> diff --git a/libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp b/libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp index ba2697c78986c..479d40a5eb088 100644 --- a/libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp +++ b/libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp @@ -11,8 +11,6 @@ // __bounded_iter<_Iter> -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // Verify that __bounded_iter does not accept non-contiguous iterators as determined by __libcpp_is_contiguous_iterator. // static_assert should be used, see https://github.com/llvm/llvm-project/issues/115002. // __wrap_iter cannot be so handled because it may directly wrap user-defined fancy pointers in libc++'s vector. diff --git a/libcxx/test/libcxx/iterators/iterator.primitives/iterator.operations/prev.verify.cpp b/libcxx/test/libcxx/iterators/iterator.primitives/iterator.operations/prev.verify.cpp index ffef687723983..da0a336815a5c 100644 --- a/libcxx/test/libcxx/iterators/iterator.primitives/iterator.operations/prev.verify.cpp +++ b/libcxx/test/libcxx/iterators/iterator.primitives/iterator.operations/prev.verify.cpp @@ -8,8 +8,6 @@ // std::prev -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <iterator> #include "test_iterators.h" diff --git a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp index 7ead65caf9fda..4bb42cb532078 100644 --- a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp +++ b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp @@ -21,8 +21,6 @@ // GCC doesn't support the aligned-allocation flags. // XFAIL: gcc -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // RUN: %{build} -faligned-allocation -fsized-deallocation // RUN: %{run} // RUN: %{build} -faligned-allocation -fno-sized-deallocation -DNO_SIZE diff --git a/libcxx/test/libcxx/memory/allocation_guard.pass.cpp b/libcxx/test/libcxx/memory/allocation_guard.pass.cpp index 20c05b381ef0e..493ebf044187c 100644 --- a/libcxx/test/libcxx/memory/allocation_guard.pass.cpp +++ b/libcxx/test/libcxx/memory/allocation_guard.pass.cpp @@ -12,8 +12,6 @@ // To allow checking that self-move works correctly. // ADDITIONAL_COMPILE_FLAGS: -Wno-self-move -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // template<class _Alloc> // struct __allocation_guard; diff --git a/libcxx/test/libcxx/memory/swap_allocator.pass.cpp b/libcxx/test/libcxx/memory/swap_allocator.pass.cpp index f70f8134d1dda..311660290eaef 100644 --- a/libcxx/test/libcxx/memory/swap_allocator.pass.cpp +++ b/libcxx/test/libcxx/memory/swap_allocator.pass.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <memory> // template <typename _Alloc> diff --git a/libcxx/test/libcxx/numerics/bit.ops.pass.cpp b/libcxx/test/libcxx/numerics/bit.ops.pass.cpp index 1bf9d3890f45f..7f502d6e01d1e 100644 --- a/libcxx/test/libcxx/numerics/bit.ops.pass.cpp +++ b/libcxx/test/libcxx/numerics/bit.ops.pass.cpp @@ -9,8 +9,6 @@ // Test the __XXXX routines in the <bit> header. // These are not supposed to be exhaustive tests, just sanity checks. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__bit/bit_log2.h> #include <__bit/countl.h> #include <__bit/rotate.h> diff --git a/libcxx/test/libcxx/numerics/clamp_to_integral.pass.cpp b/libcxx/test/libcxx/numerics/clamp_to_integral.pass.cpp index 68d55afa1f280..aed78f9cddf84 100644 --- a/libcxx/test/libcxx/numerics/clamp_to_integral.pass.cpp +++ b/libcxx/test/libcxx/numerics/clamp_to_integral.pass.cpp @@ -12,8 +12,6 @@ // closest representable value for the specified integer type, or // numeric_limits<IntT>::max()/min() if the value isn't representable. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__random/clamp_to_integral.h> #include <cassert> #include <cmath> diff --git a/libcxx/test/libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp b/libcxx/test/libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp index d87e259cefe39..6d5a4c556ca76 100644 --- a/libcxx/test/libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp +++ b/libcxx/test/libcxx/numerics/complex.number/cmplx.over.pow.pass.cpp @@ -8,8 +8,6 @@ // <complex> -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // template<class T, class U> complex<__promote_t<T, U>> pow(const complex<T>&, const U&); // template<class T, class U> complex<__promote_t<T, U>> pow(const complex<T>&, const complex<U>&); // template<class T, class U> complex<__promote_t<T, U>> pow(const T&, const complex<U>&); diff --git a/libcxx/test/libcxx/selftest/test_macros.pass.cpp b/libcxx/test/libcxx/selftest/test_macros.pass.cpp index 9bcf7cf9a31f5..59c3480b47403 100644 --- a/libcxx/test/libcxx/selftest/test_macros.pass.cpp +++ b/libcxx/test/libcxx/selftest/test_macros.pass.cpp @@ -8,8 +8,6 @@ // // Test the "test_macros.h" header. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__config> #include "test_macros.h" diff --git a/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp b/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp index 7b3f81e21d8a8..6bfcb5d4bfcd8 100644 --- a/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp +++ b/libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // <string> // This test ensures that the correct max_size() is returned depending on the platform. diff --git a/libcxx/test/libcxx/strings/c.strings/constexpr_memmove.pass.cpp b/libcxx/test/libcxx/strings/c.strings/constexpr_memmove.pass.cpp index 2009cbe28a91f..bdc18448d03a4 100644 --- a/libcxx/test/libcxx/strings/c.strings/constexpr_memmove.pass.cpp +++ b/libcxx/test/libcxx/strings/c.strings/constexpr_memmove.pass.cpp @@ -19,8 +19,6 @@ // and is_trivially_XXX_assignable), so we use some funky types to test these // corner cases. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__string/constexpr_c_functions.h> #include <cassert> #include <cstdint> diff --git a/libcxx/test/libcxx/system_reserved_names.gen.py b/libcxx/test/libcxx/system_reserved_names.gen.py index a4f2928eda332..f8589f2beaae3 100644 --- a/libcxx/test/libcxx/system_reserved_names.gen.py +++ b/libcxx/test/libcxx/system_reserved_names.gen.py @@ -29,8 +29,6 @@ {lit_header_restrictions.get(header, '')} {lit_header_undeprecations.get(header, '')} -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - // This is required to detect the platform we're building for below. #include <__config> diff --git a/libcxx/test/libcxx/transitive_includes.gen.py b/libcxx/test/libcxx/transitive_includes.gen.py index 6f99240436632..f01dbac26a8e8 100644 --- a/libcxx/test/libcxx/transitive_includes.gen.py +++ b/libcxx/test/libcxx/transitive_includes.gen.py @@ -90,8 +90,6 @@ // TODO: Figure out why <stdatomic.h> doesn't work on FreeBSD // UNSUPPORTED: LIBCXX-FREEBSD-FIXME -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - // RUN: mkdir %t // RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} --trace-includes -fshow-skipped-includes --preprocess > /dev/null 2> %t/trace-includes.txt // RUN: %{{python}} %{{libcxx-dir}}/test/libcxx/transitive_includes/to_csv.py %t/trace-includes.txt > %t/actual_transitive_includes.csv diff --git a/libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp b/libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp index 67a4dccb0f5fe..51e3a8534baea 100644 --- a/libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp +++ b/libcxx/test/libcxx/type_traits/datasizeof.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/datasizeof.h> #include <cstdint> #include <type_traits> diff --git a/libcxx/test/libcxx/type_traits/desugars_to.compile.pass.cpp b/libcxx/test/libcxx/type_traits/desugars_to.compile.pass.cpp index 4ed6d15ee9e95..9134ac027d1ed 100644 --- a/libcxx/test/libcxx/type_traits/desugars_to.compile.pass.cpp +++ b/libcxx/test/libcxx/type_traits/desugars_to.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - // This test requires variable templates // UNSUPPORTED: gcc && c++11 diff --git a/libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp b/libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp index a538c52a534e7..5a779c0e96e21 100644 --- a/libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp +++ b/libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp @@ -14,8 +14,6 @@ // returns false when there's no constant evaluation support from the compiler. // as well as when called not in a constexpr context -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/is_constant_evaluated.h> #include <cassert> diff --git a/libcxx/test/libcxx/type_traits/is_replaceable.compile.pass.cpp b/libcxx/test/libcxx/type_traits/is_replaceable.compile.pass.cpp index 7735538cccae4..546240a6c3286 100644 --- a/libcxx/test/libcxx/type_traits/is_replaceable.compile.pass.cpp +++ b/libcxx/test/libcxx/type_traits/is_replaceable.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/is_replaceable.h> #include <array> #include <deque> diff --git a/libcxx/test/libcxx/type_traits/is_trivially_comparable.compile.pass.cpp b/libcxx/test/libcxx/type_traits/is_trivially_comparable.compile.pass.cpp index e9b53080fcd6d..e2be399456b1b 100644 --- a/libcxx/test/libcxx/type_traits/is_trivially_comparable.compile.pass.cpp +++ b/libcxx/test/libcxx/type_traits/is_trivially_comparable.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/conditional.h> #include <__type_traits/is_equality_comparable.h> #include <__type_traits/is_signed.h> diff --git a/libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp b/libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp index 8066925f2900a..c462672616f77 100644 --- a/libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp +++ b/libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__type_traits/is_trivially_relocatable.h> #include <array> #include <deque> diff --git a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp index fb51a4bf4ed27..f6b8a29d36821 100644 --- a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp +++ b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp @@ -9,8 +9,6 @@ // This test relies on `typeid` and thus requires `-frtti`. // UNSUPPORTED: no-rtti -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // Make sure that we don't get ODR violations with __exception_guard when // linking together TUs compiled with different values of -f[no-]exceptions. diff --git a/libcxx/test/libcxx/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp b/libcxx/test/libcxx/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp index 1ce88feeadf28..aa6bf85a1a40d 100644 --- a/libcxx/test/libcxx/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp +++ b/libcxx/test/libcxx/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - // This test requires variable templates // UNSUPPORTED: gcc && c++11 diff --git a/libcxx/test/libcxx/utilities/is_pointer_in_range.pass.cpp b/libcxx/test/libcxx/utilities/is_pointer_in_range.pass.cpp index b0a27c79287d4..fc4d3a9800d11 100644 --- a/libcxx/test/libcxx/utilities/is_pointer_in_range.pass.cpp +++ b/libcxx/test/libcxx/utilities/is_pointer_in_range.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__utility/is_pointer_in_range.h> #include <cassert> diff --git a/libcxx/test/libcxx/utilities/is_valid_range.pass.cpp b/libcxx/test/libcxx/utilities/is_valid_range.pass.cpp index cb800aee5674b..345e2feeda81c 100644 --- a/libcxx/test/libcxx/utilities/is_valid_range.pass.cpp +++ b/libcxx/test/libcxx/utilities/is_valid_range.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__utility/is_valid_range.h> #include <cassert> diff --git a/libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp b/libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp index 0991de69b5baf..c230f6e16e0a2 100644 --- a/libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp +++ b/libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp @@ -14,8 +14,6 @@ // or a ref-qualifier, or a reference type. // -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <type_traits> #include <cassert> diff --git a/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp b/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp index 66c25b1d75638..89f08088921d5 100644 --- a/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp +++ b/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp @@ -7,8 +7,6 @@ //===----------------------------------------------------------------------===// // -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include "test_macros.h" TEST_CLANG_DIAGNOSTIC_IGNORED("-Wprivate-header") diff --git a/libcxx/test/libcxx/utilities/no_destroy.pass.cpp b/libcxx/test/libcxx/utilities/no_destroy.pass.cpp index 8693bb17089dc..9a874a6407537 100644 --- a/libcxx/test/libcxx/utilities/no_destroy.pass.cpp +++ b/libcxx/test/libcxx/utilities/no_destroy.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <__utility/no_destroy.h> #include <cassert> diff --git a/libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp b/libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp index ae8464ac946a9..214b0eff8d9d2 100644 --- a/libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp +++ b/libcxx/test/libcxx/utilities/template.bitset/includes.pass.cpp @@ -8,8 +8,6 @@ // test that <bitset> includes <string>, <stdexcept> and <iosfwd> -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include <bitset> #include "test_macros.h" diff --git a/libcxx/test/libcxx/utilities/utility/private_constructor_tag.compile.pass.cpp b/libcxx/test/libcxx/utilities/utility/private_constructor_tag.compile.pass.cpp index 1644819a02f7f..7743f507b2513 100644 --- a/libcxx/test/libcxx/utilities/utility/private_constructor_tag.compile.pass.cpp +++ b/libcxx/test/libcxx/utilities/utility/private_constructor_tag.compile.pass.cpp @@ -6,8 +6,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - // struct __private_constructor_tag{}; // The private constructor tag is intended to be a trivial type that can easily _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits