[cfe-commits] [PATCH] Updated python bindings

Tobias Grosser grosser at fim.uni-passau.de
Sat Feb 5 10:05:49 PST 2011


On 02/05/2011 01:04 PM, Douglas Gregor wrote:
>
> On Feb 5, 2011, at 10:02 AM, Tobias Grosser wrote:
>
>> On 01/17/2011 06:38 PM, Douglas Gregor wrote:
>>>
>>> On Dec 28, 2010, at 10:02 PM, Tobias Grosser wrote:
>>>
>>>> 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.
>>>
>>> These look great to me, and I love that someone's pushing the Python bindings forward; please go ahead and commit!
>>
>> Thanks. I finally got around to push those changes. They are committed in r124951 to 124959.
>
> Thanks!
>
>> They still need some further work, e.g. diagnostics for completions, but they already work pretty well in clang_complete for vi.
>
>
> Diagnostics for completions are a little shaky, due to some code-completion-specific optimizations. They may need to be removed from the API, since they can't be implemented efficiently with those optimizations [*].

Thanks for this information. This probably saved us some time 
implementing the support for this in clang_complete.

Tobi



More information about the cfe-commits mailing list