Skip to content

Commit 5aa8ef8

Browse files
authored
[libc++][test] Updates sized deallocation tests. (#97833)
In #90373 size deallocation was enabled by default. Some test were disabled to propagate the clang changes to the libc++ CI. These changes have been propagated so the test filter can be updated.
1 parent ac9d34a commit 5aa8ef8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
// GCC doesn't support the aligned-allocation flags.
2222
// XFAIL: gcc
2323

24-
// TODO(mordante) fix this test after updating clang in Docker
25-
// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19
24+
// These compiler versions do not have proper sized deallocation support.
25+
// UNSUPPORTED: clang-17, clang-18
2626

2727
// RUN: %{build} -faligned-allocation -fsized-deallocation
2828
// RUN: %{run}

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88

99
// test sized operator delete[] replacement.
1010

11-
// TODO(mordante) fix this test after updating clang in Docker
12-
// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19
11+
// These compiler versions do not have proper sized deallocation support.
12+
// UNSUPPORTED: clang-17, clang-18
13+
1314
// UNSUPPORTED: sanitizer-new-delete, c++03, c++11
1415
// XFAIL: apple-clang
1516
// XFAIL: using-built-library-before-llvm-11

libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88

99
// test sized operator delete replacement.
1010

11-
// TODO(mordante) fix this test after updating clang in Docker
12-
// UNSUPPORTED: clang-15, clang-16, clang-17, clang-18, clang-19
11+
// These compiler versions do not have proper sized deallocation support.
12+
// UNSUPPORTED: clang-17, clang-18
13+
1314
// UNSUPPORTED: sanitizer-new-delete, c++03, c++11
1415
// XFAIL: apple-clang
1516
// XFAIL: using-built-library-before-llvm-11

0 commit comments

Comments
 (0)