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

Dmitri Gribenko gribozavr at gmail.com
Sat Sep 22 09:20:19 PDT 2012


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.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cindex-brief-comments-3.0-compatible-v1.patch
Type: application/octet-stream
Size: 944 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120922/4c0b800b/attachment.obj>

More information about the cfe-commits mailing list