[clang] b6ee41f - [clang-repl] Relax regular expression for new const.cpp test

Jonas Hahnfeld via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 04:11:13 PDT 2023


Author: Jonas Hahnfeld
Date: 2023-10-03T13:10:31+02:00
New Revision: b6ee41f83c6ea361bfafc2168e9223379b32773f

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

LOG: [clang-repl] Relax regular expression for new const.cpp test

This should fix the failing test on Windows:
https://lab.llvm.org/buildbot/#/builders/216/builds/28266

Added: 
    

Modified: 
    clang/test/Interpreter/const.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/const.cpp b/clang/test/Interpreter/const.cpp
index a4b610f1a19d842..b3206f6e3fda96f 100644
--- a/clang/test/Interpreter/const.cpp
+++ b/clang/test/Interpreter/const.cpp
@@ -10,7 +10,7 @@ A::~A() { printf("~A, this = %p, val = %d\n", this, val); }
 void A::f() const { printf("f: this = %p, val = %d\n", this, val); }
 
 const A a(1);
-// CHECK: A(1), this = [[THIS:0x[0-9a-f]+]]
+// CHECK: A(1), this = [[THIS:.+]]
 // The constructor must only be called once!
 // CHECK-NOT: A(1)
 


        


More information about the cfe-commits mailing list