libclang: expose pointer-to-member type

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Oct 3 09:23:03 PDT 2013


Committed in r191906, thanks!

On Oct 2, 2013, at 6:53 PM, Che-Liang Chiou <clchiou at gmail.com> wrote:

> Rename to clang_Type_getClassType
> 
> On Wed, Oct 2, 2013 at 4:24 PM, Argyrios Kyrtzidis <akyrtzi at gmail.com> wrote:
>> Hi Che-Liang, sorry for the delay,
>> 
>> /**
>> + * \brief Return the class type of an member pointer type.
>> + *
>> + * If a non-member-pointer type is passed in, an invalid type is returned.
>> + */
>> +CINDEX_LINKAGE CXType clang_getClassType(CXType T);
>> +
>> +/**
>> 
>> I suggest naming this "clang_Type_getClassType", otherwise it looks good!
>> 
>> On Oct 2, 2013, at 4:05 PM, Che-Liang Chiou <clchiou at gmail.com> wrote:
>> 
>>> Hello, any concerns about the patch?
>>> 
>>> On Sat, Sep 28, 2013 at 11:41 AM, Che-Liang Chiou <clchiou at gmail.com> wrote:
>>>> Hello,
>>>> 
>>>> What do you think about the patch? Any comments?
>>>> 
>>>> Regards,
>>>> Che-Liang
>>>> 
>>>> On Fri, Sep 20, 2013 at 8:10 PM, Che-Liang Chiou <clchiou at gmail.com> wrote:
>>>>> 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-v2.patch>





More information about the cfe-commits mailing list