[PATCH] libclang: Add clang_CXXMethod_isConst

Dmitri Gribenko gribozavr at gmail.com
Mon Apr 7 03:10:37 PDT 2014


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.

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