[PATCH] libclang: Add clang_CXXMethod_isConst

Dmitri Gribenko gribozavr at gmail.com
Mon Apr 7 08:06:33 PDT 2014


On Mon, Apr 7, 2014 at 2:46 PM, Kevin Funk <kfunk at kde.org> wrote:
> On Monday 07 April 2014 11:10:37 Dmitri Gribenko wrote:
>> On Sun, Apr 6, 2014 at 1:20 AM, Kevin Funk <kfunk at kde.org> wrote:
>> > Hey,
>> >
>> > Title says it all, this patch adds clang_CXXMethod_isConst to libclang.
>> >
>> > Manual testing done.
>>
>> Hi Kevin,
>>
>> Please add a test in test/Index/load-classes.cpp.  It would be awesome
>> if you also added test cases where c-index-test prints (static) and
>> (virtual) as well.  With that, the patch LGTM.
>
> Added another patch (see 2/2):

Committed r205714 with edits.  Thank you!

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list