[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 16 21:41:18 PDT 2026


================
@@ -76,7 +86,7 @@
 
 #if defined(__apple_build_version__)
 // Given AppleClang XX.Y.Z, TEST_APPLE_CLANG_VER is XXYZ (e.g. AppleClang 14.0.3 => 1403)
-#define TEST_APPLE_CLANG_VER (__apple_build_version__ / 10000)
+#  define TEST_APPLE_CLANG_VER (__apple_build_version__ / 10000)
----------------
xroche wrote:

I tried to revert them and the code_formatter job goes red. git-clang-format reformats the changed region, and clang-format reindents these #defines file-wide as a side effect

`IndentPPDirectives: AfterHash` seems to be the culprit

Should we reformat the whole file as a follow-up ?

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


More information about the libcxx-commits mailing list