From 635a7369b75d703798d8d8c02b1889ebb79dc67f Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Thu, 23 Feb 2017 22:14:55 +0000 Subject: Tighten up a regex in a test ...If we're trying to match "this function has only two arguments", `.*` probably isn't the best thing to use. :) llvm-svn: 296027 --- clang/test/CodeGenObjCXX/arc-attrs-abi.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test') diff --git a/clang/test/CodeGenObjCXX/arc-attrs-abi.mm b/clang/test/CodeGenObjCXX/arc-attrs-abi.mm index 1fb32f8c006..22ef7a55d33 100644 --- a/clang/test/CodeGenObjCXX/arc-attrs-abi.mm +++ b/clang/test/CodeGenObjCXX/arc-attrs-abi.mm @@ -25,7 +25,7 @@ struct VirtualBase2 { // emit the construction code inline. struct WithVirtualBaseMid : virtual VirtualBase2 { // Ensure we only pass in `this` and a vtable. Otherwise this test is useless. - // ITANIUM: define {{.*}} void @_ZN18WithVirtualBaseMidCI212VirtualBase2EP11objc_objectPv({{.*}}, {{.*}}) + // ITANIUM: define {{.*}} void @_ZN18WithVirtualBaseMidCI212VirtualBase2EP11objc_objectPv({{[^,]*}}, {{[^,]*}}) using VirtualBase2::VirtualBase2; }; struct WithVirtualBaseLast : WithVirtualBaseMid { -- cgit v1.2.3