[cfe-dev] ignoring*() and hasParent() matchers

Michael Jabbour via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 5 09:31:46 PDT 2018

Hello all,

When using has*() it is sometimes desirable to use ignoringParenCasts(),
for example (from the docs):


Is there any way to get the same effect when hasParent(), e.g.:


Obviously this does not work, but what is the best way to achieve a
similar effect?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180705/040e8838/attachment.html>

More information about the cfe-dev mailing list