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.
memberpointer.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
