[libcxx-commits] [libcxx] [libc++][test] Migrate _BitInt probe to __BITINT_MAXWIDTH__ and fix latent test bugs (PR #203876)
Xavier Roche via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 30 00:37:57 PDT 2026
================
@@ -98,7 +99,7 @@ constexpr bool test() {
test_implementation_defined_size<long long>();
test_implementation_defined_size<unsigned long long>();
-#if TEST_HAS_EXTENSION(bit_int)
+#if TEST_HAS_BITINT
// _BitInt(N) where digits + is_signed == sizeof * CHAR_BIT (no padding
// bits) is accepted; other widths are rejected by the static_assert
// inside the function body (see byteswap.verify.cpp).
----------------
xroche wrote:
Agreed; fixed across comments in 206666
https://github.com/llvm/llvm-project/pull/203876
More information about the libcxx-commits
mailing list