[clang] 5dbfa3d - [clang][C2y] Fix post-commit CI failure (#235029)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 10:47:42 PDT 2026
Author: Aaron Ballman
Date: 2026-10-23T13:47:37-04:00
New Revision: 5dbfa3d24ec4a9c2a216b14b92085a33b52f5866
URL: https://github.com/llvm/llvm-project/commit/5dbfa3d24ec4a9c2a216b14b92085a33b52f5866
DIFF: https://github.com/llvm/llvm-project/commit/5dbfa3d24ec4a9c2a216b14b92085a33b52f5866.diff
LOG: [clang][C2y] Fix post-commit CI failure (#235029)
After landing 75a53e72d6939bede9df3bc9e73ae05cb314e9e1, one of the ARM
bots started failing:
https://lab.llvm.org/buildbot/#/builders/38/builds/12438
This adds a triple to the test; we don't care what platform the test is
targeting, we only care that we didn't need to include headers for the
pragmas to be recognized. Testing that on a single target is fine.
Added:
Modified:
clang/test/C/C2y/n3842.c
Removed:
################################################################################
diff --git a/clang/test/C/C2y/n3842.c b/clang/test/C/C2y/n3842.c
index f653d50bc6433..1bc2ba094324b 100644
--- a/clang/test/C/C2y/n3842.c
+++ b/clang/test/C/C2y/n3842.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -std=c2y -Wall -pedantic %s
+// RUN: %clang_cc1 -triple=x86_64-pc-linux -verify -std=c2y -Wall -pedantic %s
/* WG14 N3842: Yes
* Standard pragmas and headers
More information about the cfe-commits
mailing list