[cfe-dev] libclang: Getting a list of Obj-C protocols from the type

Alexander Udalov udalov.alexander at gmail.com
Sat May 11 11:43:16 PDT 2013


Hi,

I'm a newbie in libclang, so please forgive me if this sounds stupid.

While indexing Objective-C sources I need to get a list of specified
protocols from CXType (e.g. in the type "id<P, Q>", these are P, Q). Types
of such form have "unexposed" kind in libclang, but is there any API to
obtain the protocols? I couldn't find any.

Thanks!

Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130511/a53e0ad5/attachment.html>


More information about the cfe-dev mailing list