[cfe-users] AST Recursive Visitor- Statements (Stmt *)

Ayush Mittal via cfe-users cfe-users at lists.llvm.org
Tue Jul 30 16:25:04 PDT 2019

Hello Clangers,

I'm new to clang. I'm writing an AST Consumer plug-in to visit the
statements node and record the data in one of my table with line numbers.
I've this function callback ready: *VisitStmt(Stmt *S)*. My question is how
could I traverse If, while, for loop, boolean and Unary Operators- inside
this function.

Thanks and Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20190730/bd48676b/attachment.html>

More information about the cfe-users mailing list