[libcxx-commits] [libcxx] [libcxx] [test] Use ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS in more places (PR #144339)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 30 12:53:43 PDT 2025


EricWF wrote:

Shouldn't the call to `new` be replaced no matter where it occurs? I'm worried this is papering over bugs.

And I'm not sure the best fix for one or two allocations is to disable all tests using the mechanic entirely. For example, they may be able to work around the unannotated allocation.

https://github.com/llvm/llvm-project/pull/144339


More information about the libcxx-commits mailing list