[cfe-commits] [PATCH] Add Python bindings to comment AST introspection APIs

Ben Gertzfield bgertzfield at gmail.com
Fri Dec 28 14:18:33 PST 2012


Happy holidays, all!

On Thu, Dec 20, 2012 at 4:38 PM, Ben Gertzfield <bgertzfield at gmail.com>wrote:

> On Thu, Dec 20, 2012 at 3:52 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
>
>
>> If there's anything important missing in the XML, we should add it there.
>>
>
> Well, I definitely need at the very least:
>
> 1) libclang C API bindings to manipulate CommandTraits::RegisteredCommands
>

I took a look at adding libclang C API bindings to manipulate C
ommandTraits::RegisteredCommands.

If I understand correctly, its value needs to be set before parsing begins.
However, it seems to only exist as part of the AST context, which only
exists after parsing is complete.

Dmitri, is this understanding complete? I'm probably missing something; can
you point me in the right direction?

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121228/7d33b568/attachment.html>


More information about the cfe-commits mailing list