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?