[cfe-dev] libclang - access to declaration attributes

Vinay Sajip vinay_sajip at yahoo.co.uk
Thu Sep 8 10:11:34 PDT 2011


I know about the clang_isXXXQualifiedType APIs, but there is a much wider set of
attributes applicable to declarations: for example, for functions - calling
convention (__stdcall__ etc.), __inline__, __dllimport__ etc.

I can't see a libclang API to get this information, and it would be very useful
to have it. Does anyone have any suggestions for how this might be achieved?

Regards,

Vinay Sajip




More information about the cfe-dev mailing list