Simplify assert-neutral matching in test case.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 18:35:25 +0000 (18:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 18:35:25 +0000 (18:35 +0000)
Originally committed in r188651, improved/fixed to be assert-neutral by
Takumi in r188661.

llvm-svn: 188686

clang/test/CodeGenObjC/2010-02-09-DbgSelf.m

index e336108..9aebe3d 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -x objective-c -emit-llvm -g < %s | FileCheck %s
 // Test to check that "self" argument is assigned a location.
-// CHECK: call void @llvm.dbg.declare(metadata !{%0** %{{self\.addr},|[0-9]+},}} metadata [[SELF:![0-9]*]])
+// CHECK: call void @llvm.dbg.declare(metadata !{%0** %{{[^}]+}}}, metadata [[SELF:![0-9]*]])
 // CHECK: [[SELF]] = {{.*}} ; [ DW_TAG_arg_variable ] [self]
 
 @interface Foo