[cfe-dev] Parent of an AST node?

Nico Weber nicolasweber at gmx.de
Thu Jul 31 15:44:08 PDT 2008


Hi,

how can I get the parent of an AST node?

I have a DeclRefExpr object and would like the name of the function  
it's contained in. Does clang offer this functionality or do I have to  
keep track of parents myself?

Thanks,
Nico



More information about the cfe-dev mailing list