libclang: expose pointer-to-member type

Che-Liang Chiou clchiou at
Fri Sep 20 20:10:08 PDT 2013

Conceptually the pointer-to-member type is, roughly speaking, a
composite of two types: the class type and the pointee type. This
patch adds clang_getClassType to Index.h which returns the class type
of a pointer-to-member, and extends clang_getPointeeType to return the
pointee type of a pointer-to-member. These two changes to the public
API should be the minimal amount of change needed for accessing
pointer-to-member type information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memberpointer.patch
Type: application/octet-stream
Size: 4577 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list