r372611 - Fix test atomic-expr.cpp after R372422

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 07:12:13 PDT 2019


Author: erichkeane
Date: Mon Sep 23 07:12:13 2019
New Revision: 372611

URL: http://llvm.org/viewvc/llvm-project?rev=372611&view=rev
Log:
Fix test atomic-expr.cpp after R372422

The test tried to match a path in a printout by doing '^:' which failed
on windows, since C:\... is a path.

Modified:
    cfe/trunk/test/AST/atomic-expr.cpp

Modified: cfe/trunk/test/AST/atomic-expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/atomic-expr.cpp?rev=372611&r1=372610&r2=372611&view=diff
==============================================================================
--- cfe/trunk/test/AST/atomic-expr.cpp (original)
+++ cfe/trunk/test/AST/atomic-expr.cpp Mon Sep 23 07:12:13 2019
@@ -9,7 +9,7 @@ void useage(){
   pr43370();
 }
 
-// CHECK:FunctionTemplateDecl 0x{{[0-9a-f]+}} <{{[^:]+}}:3:1, line:7:1> line:4:6 pr43370
+// CHECK:FunctionTemplateDecl 0x{{[0-9a-f]+}} <{{[^,]+}}, line:7:1> line:4:6 pr43370
 // CHECK: AtomicExpr
 // CHECK-NEXT: ImplicitCastExpr
 // CHECK-SAME: <ArrayToPointerDecay>




More information about the cfe-commits mailing list