[libcxx-commits] [libcxx] [libc++] Implement P4206R0 Revert string support in std::constant_wrapper (PR #203338)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 12 01:56:42 PDT 2026


frederick-vs-ja wrote:

It doesn't seem possible to work around bug #151531 (fixed in Clang 22) for Clang 21, which is very unfortunate.

A possible resolution might be temporarily skipping this line for Clang 21:
https://github.com/llvm/llvm-project/blob/90ca88b509d5c70e98002bde45453877a404ffc8/libcxx/test/std/utilities/const.wrap.class/unary_ops.pass.cpp#L151

Per https://libcxx.llvm.org/#platform-and-compiler-support, perhaps we don't need to support Clang 21 when LLVM 23 is released, but I'm not very sure. I still want to land this in LLVM 23.

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


More information about the libcxx-commits mailing list