[clang] 4bd9b9e - Fix failing bot with changes to _Countof testing
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 17 04:32:44 PDT 2025
Author: Aaron Ballman
Date: 2025-04-17T07:32:12-04:00
New Revision: 4bd9b9e9adf9db1a326e2f2fa616c714beb83c4f
URL: https://github.com/llvm/llvm-project/commit/4bd9b9e9adf9db1a326e2f2fa616c714beb83c4f
DIFF: https://github.com/llvm/llvm-project/commit/4bd9b9e9adf9db1a326e2f2fa616c714beb83c4f.diff
LOG: Fix failing bot with changes to _Countof testing
This addresses the issue found by:
https://lab.llvm.org/buildbot/#/builders/190/builds/18484
Added:
Modified:
clang/test/C/C2y/n3369_2.c
Removed:
################################################################################
diff --git a/clang/test/C/C2y/n3369_2.c b/clang/test/C/C2y/n3369_2.c
index 9cab828b461b5..3e9e14283497e 100644
--- a/clang/test/C/C2y/n3369_2.c
+++ b/clang/test/C/C2y/n3369_2.c
@@ -5,7 +5,7 @@
typedef typeof(sizeof(0)) size_t;
-// CHECK-LABEL: define dso_local i64 @test1(
+// CHECK-LABEL: define{{( dso_local)?}} i64 @test1(
// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
// CHECK-NEXT: [[ENTRY:.*:]]
// CHECK-NEXT: [[ARRAY:%.*]] = alloca [12 x i32], align
@@ -16,7 +16,7 @@ size_t test1() {
return _Countof(array);
}
-// CHECK-LABEL: define dso_local i64 @test2(
+// CHECK-LABEL: define{{( dso_local)?}} i64 @test2(
// CHECK-SAME: ) #[[ATTR0]] {
// CHECK-NEXT: [[ENTRY:.*:]]
// CHECK-NEXT: ret i64 100
More information about the cfe-commits
mailing list