From: George Burgess IV Date: Thu, 23 Feb 2017 22:14:55 +0000 (+0000) Subject: Tighten up a regex in a test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0df4330a24251e7d19550819018be741e4b4b3e0;p=clang 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. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296027 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjCXX/arc-attrs-abi.mm b/test/CodeGenObjCXX/arc-attrs-abi.mm index 1fb32f8c00..22ef7a55d3 100644 --- a/test/CodeGenObjCXX/arc-attrs-abi.mm +++ b/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 {