[cfe-dev] libclang - access to function parameter types

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Sep 12 15:55:20 PDT 2011


It appears that function parameter types are not accessible via the libclang API
- can someone confirm this? I can access the return type and parameter types via
declarations using child nodes of the declaration cursor (e.g. ParmDecl), but if
handed a CXType corresponding to a pointer to a function with prototype, how can
you get at the parameter types of the function?

Thanks,

Vinay Sajip




More information about the cfe-dev mailing list