[libcxx-commits] [libcxx] [libcxx] Align `__recommend() + 1` by __endian_factor (PR #90292)

Vitaly Buka via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 14 07:30:59 PDT 2024


vitalybuka wrote:

> > Could you please add tests for this change?
> 
> There are plenty of tests that cover this case. it's just invisible on regular builds, but they will fail with asan. I tried to add assert, but according to [#90292 (comment)](https://github.com/llvm/llvm-project/pull/90292#issuecomment-2089669082) it's invalid.

I will check if it's testable using __alloc_traits.

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


More information about the libcxx-commits mailing list