]> granicus.if.org Git - clang/commitdiff
Fix test atomic-expr.cpp after R372422
authorErich Keane <erich.keane@intel.com>
Mon, 23 Sep 2019 14:12:13 +0000 (14:12 +0000)
committerErich Keane <erich.keane@intel.com>
Mon, 23 Sep 2019 14:12:13 +0000 (14:12 +0000)
The test tried to match a path in a printout by doing '^:' which failed
on windows, since C:\... is a path.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372611 91177308-0d34-0410-b5e6-96231b3b80d8

test/AST/atomic-expr.cpp

index 34b51fabc81b0c33e852583c7fa9789a461c48e4..550b8d186c38ed74f46c2ece5e82d448d18f69af 100644 (file)
@@ -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>