libclang: Getting a list of Obj-C protocols from the type


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.