[cfe-dev] How to get typedef name?

Kenth Eriksson via cfe-dev cfe-dev at lists.llvm.org
Thu Oct 31 08:41:22 PDT 2019


How can I get the underlying typedef name for the parameters of
a FunctionDecl?  

The following gives the resolved typedef name, but I want the typedef
name. 


func->parameters()[i]->getType().getAsString();


Thanks,
Kenth





More information about the cfe-dev mailing list