[cfe-dev] [AST Matchers] has matcher bug?

Piotr Padlewski via cfe-dev cfe-dev at lists.llvm.org
Fri May 13 05:27:42 PDT 2016


I am have a problem with has matcher. It doesn't work for cases like
implicitCastExpr(has(implicitCastExpr()))
or

cxxMemberCallExpr(has(materializeTemporaryExpr())))

or

returnStmt(has(implicitCastExpr()))

Here is a bug in bugzilla

https://llvm.org/bugs/show_bug.cgi?id=27713


Am I doing something wrong or it is a bug? This thing blocks me on 2
clang-tidy checks that I am working on.


Thanks

Piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160513/762586fd/attachment.html>


More information about the cfe-dev mailing list