[cfe-dev] collecting source code information

Dominik Grewe dominik.grewe at gmail.com
Tue Jun 29 07:50:14 PDT 2010


Thanks for your reply. I now started using CFG rather than ASTVisitor. It allows
me to iterate over basic blocks nicely so that I can see the actual structure of
the code. Is this also possible in ASTVisitor?

Another problem:
When I reach a variable that is a parameter of my function, it is described as a
DeclRefExpr in the CFG. However, if the variable is local it is not a
DeclRefExpr and I can't figure out what type of expression it is...

Cheers
Dominik







More information about the cfe-dev mailing list