<div dir="ltr">Hi,<div><br></div><div>Using this AST matcher:</div><div><br></div><div>memberCallExpr(on(hasType(recordDecl(hasName("SomeType"))))).bind("SomeTypeCall");<br></div><div><br></div><div>I can match calls like X.Foo() when X is of type SomeType.</div>
<div><br></div><div>I can't figure out how to write a matcher for calls on the form X->Foo(). Any hints?</div><div><br></div><div><br></div><div>Regards,</div><div> Jonas</div></div>