[cfe-commits] [PATCH] cindex.py: don't call clang_getCompletionBriefComment if it is not available

Dmitri Gribenko gribozavr at gmail.com
Sat Sep 22 10:55:08 PDT 2012


On Sat, Sep 22, 2012 at 8:52 PM, Tobias Grosser
<grosser at fim.uni-passau.de> wrote:
> On 09/22/2012 06:20 PM, Dmitri Gribenko wrote:
>> Attached is a patch that fixes cindex.py compatibility with older
>> libclang.so.  The issue is that we call
>> clang_getCompletionBriefComment unconditionally.  The patch adds a
>> check to see if this function is available.

Thank you.  Committed r164464.

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