[libc++][Android] Allow testing libc++ with clang-r536225 (#116149)
commit8f53a67bb8fa157d1767b0299ef2a19328cf26e9
authorRyan Prichard <rprichard@google.com>
Wed, 20 Nov 2024 22:06:58 +0000 (20 14:06 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 22:06:58 +0000 (20 14:06 -0800)
tree4ba82dfcca277573f06e2f7390579e6b675e347d
parentec5b729e651c48dfff67487e6bb24c218c35cda9
[libc++][Android] Allow testing libc++ with clang-r536225 (#116149)

The Android clang-r536225 compiler identifies as Clang 19, but it is
based on commit fc57f88f007497a4ead0ec8607ac66e1847b02d6, which predates
the official LLVM 19.0.0 release.

Some tests need fixes:

* The sized delete tests fail because clang-r536225 leaves sized
deallocation off by default.

* std::array<T[0]> is true when this Android Clang version is used with
a trunk libc++, but we expect it to be false in the test. In practice,
Clang and libc++ usually come from the same commit on Android.
libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp