[clang] 2346d19 - Speculatively fix this C DR test

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 12:18:12 PDT 2022


Author: Aaron Ballman
Date: 2022-07-12T15:18:03-04:00
New Revision: 2346d19a262eb6d62db9588afb154a5ef856dabb

URL: https://github.com/llvm/llvm-project/commit/2346d19a262eb6d62db9588afb154a5ef856dabb
DIFF: https://github.com/llvm/llvm-project/commit/2346d19a262eb6d62db9588afb154a5ef856dabb.diff

LOG: Speculatively fix this C DR test

There is a failing bot:
http://45.33.8.238/macm1/40002/step_7.txt

It looks to be failing because of a regex and how it handles whitespace,
so modifying the CHECK line slightly to account for that.

Added: 
    

Modified: 
    clang/test/C/drs/dr268.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/drs/dr268.c b/clang/test/C/drs/dr268.c
index 5ee0a0eb0a24..0fb2a6d95839 100644
--- a/clang/test/C/drs/dr268.c
+++ b/clang/test/C/drs/dr268.c
@@ -26,7 +26,7 @@ void dr268(void) {
    * first pass through.
    */
   /* Get us to the right function.
-     CHECK-LABEL: define {{.*}} void @dr268() {{.*}} {
+     CHECK-LABEL: define{{.*}} void @dr268() {{.*}} {
 
      First is the initialization and goto.
      CHECK: store i32 5


        


More information about the cfe-commits mailing list