[cfe-dev] Traversing a function body for call expressions. How ?
Manasij Mukherjee
manasij7479 at gmail.com
Tue Dec 2 23:11:30 PST 2014
Hi,
In a RecursiveASTVisitor implementation, I implement VisitFunctionDecl.
Now, from the FunctionDecl I have, I can call getBody and get a Stmt.
How can I visit all the functions this function calls ?
I have tried creating a StmtVisitor and ..err..defining VisitCallExpr !
That didn't work.
Can anyone point me to what I should be doing ?
Manasij Mukherjee
More information about the cfe-dev
mailing list