]> granicus.if.org Git - clang/commitdiff
Tighten up a regex in a test
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 23 Feb 2017 22:14:55 +0000 (22:14 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 23 Feb 2017 22:14:55 +0000 (22:14 +0000)
...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

test/CodeGenObjCXX/arc-attrs-abi.mm

index 1fb32f8c00672593bc33db6af153c4ae96569b30..22ef7a55d338034cc297b7dd640cb2808c5dc5f9 100644 (file)
@@ -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 {