[cfe-dev] DeclRefExpr nodes from AST.
Douglas Gregor
dgregor at apple.com
Wed May 11 08:23:11 PDT 2011
On May 11, 2011, at 2:22 AM, Mohit Asudani wrote:
> Hi
>
>
>
> I have made my own ASTConsumer. I want to traverse entire program AST and look for all DeclRefExpr and MemberExpr Nodes.
> I have reference to ASTContext ( within HandleTranslationUnit() ), how should I proceed from this reference to starting node of AST for traversal ?
Check out the RecursiveASTVisitor.
- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110511/57e5255c/attachment.html>
More information about the cfe-dev
mailing list