[libcxx-commits] [libcxx] [libc++] Recognize _BitInt(N) as signed/unsigned integer type (PR #185027)

Jonathan Wakely via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 29 04:42:54 PDT 2026


jwakely wrote:

I don't think it's theoretical, you use `__signed_or_unsigned_integer` for constraints in `__utility/cmp.h` which means you incorrectly accept `std::in_range<const int>(0)` (we got a libstdc++ bug report that we reject that, which is what the standard says we should do).

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


More information about the libcxx-commits mailing list