[cfe-dev] AST matcher for innermost and outermost loops

alireza nazari via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 29 12:33:36 PDT 2016


Hi,

Is there any way to use statement matcher that can directly result nodes
which are innermost loops? Basically I want to add a piece of code inside
the inner most loops and outside of the outermost loops(loops which have no
forstmt descendent and loops which have no forstmt ancestor.) Is any
StatementMatcher that can result any of them?

Thank you,
Alireza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160829/7182c9a3/attachment.html>


More information about the cfe-dev mailing list