libclang: expose pointer-to-member type

Che-Liang Chiou clchiou at gmail.com
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: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130920/f974ca34/attachment.obj>


More information about the cfe-commits mailing list