[cfe-commits] [PATCH] Updated python bindings

Tobias Grosser grosser at fim.uni-passau.de
Tue Dec 28 22:02:55 PST 2010


Hi,

here is a patchset that adds some missing functionality to the clang 
python bindings. It adds enough features to use it in clang_complete[1]
(vim autocompletion) for libclang based auto completion.

I would like to commit those patches, and from now on work directly on 
the clang svn to improve those bindings. Any reviews are therefore 
highly appreciated.

All python bindings passed, including the new tests I added. I also 
fixed some older tests.

Cheers
Tobi

@Dan: I have seen those guys working on that pluging at a state where it 
was already more advanced than the one provided by LLVM. So I added
libclang support there first. Maybe you are interested in this in one
way or another.

[1]https://github.com/tobig/clang_complete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-bindings-Use-Diagnostics-as-function-argument.patch
Type: text/x-diff
Size: 4374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-python-bindings-fix-Diagnostics.range-iterator.patch
Type: text/x-diff
Size: 2410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-python-bindings-Remove-unneeded-instruction.patch
Type: text/x-diff
Size: 928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-python-bindings-Include-local-headers-the-right-way.patch
Type: text/x-diff
Size: 1144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-python-bindings-Add-support-for-translationUnit.repa.patch
Type: text/x-diff
Size: 5205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-python-bindings-Add-CodeCompletionResults.patch
Type: text/x-diff
Size: 6210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-python-bindings-Get-the-string-representation-of-a-C.patch
Type: text/x-diff
Size: 4901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-python-bindings-Add-support-for-different-kind-of-co.patch
Type: text/x-diff
Size: 5326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0007.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-python-bindings-Add-missing-CursorKinds.patch
Type: text/x-diff
Size: 8445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101229/9859a703/attachment-0008.patch>


More information about the cfe-commits mailing list