[cfe-dev] how to get info from Decl

Jochen Wilhelmy j.wilhelmy at arcor.de
Wed Feb 3 08:42:43 PST 2010


Hi!

I have implemented HandleTopLevelDecl in an own ASTConsumer
and want to get some Info from the declarations.

I already get the function names and the names of the
parameters, but how can I get the type of the arguments out of
ParamVarDecl?

If a function is extern "C", I get a LinkageSpecDecl, but how
do I get the function inside this declaration?

-Jochen



More information about the cfe-dev mailing list