[clang] [clang][test] Try to fix Sema/format-strings.c on i686 (PR #181800)
Leandro Lupori via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 18 11:06:25 PST 2026
================
@@ -986,7 +986,7 @@ void test_promotion(void) {
void test_bool(_Bool b, _Bool* bp)
{
-#ifndef __arm__
+#if defined(__LP64__) || defined(_WIN32)
----------------
luporl wrote:
It seems a good option to me, to avoid unintentionally breaking other platforms. But I only fixed a failure on 32-bit Arm buildbots, caused by this test. I also don't know which triples this test should be run with.
Perhaps @YexuanXiao, @cor3ntin, and @zyn0217 can give better feedback on this.
https://github.com/llvm/llvm-project/pull/181800
More information about the cfe-commits
mailing list