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

Gregory Szorc gregory.szorc at gmail.com
Thu Dec 20 16:58:29 PST 2012


On 12/20/12 4:37 PM, Douglas Gregor wrote:
> I'm fine with removing the comment AST traversal routines. The XML is far better for clients.
>
XML is arguably a decent interchange format. But, I'd much prefer a more 
native and low-level API like we have today. I think it's terrific that 
comment XML is available. But, I think it is silly to force the incurred 
the cost for serialization and deserialization just to pass data through 
libclang.

If you want to refactor the comment API so it isn't traversal based, I 
say go for it. But please don't force libclang consumers to use XML.



More information about the cfe-commits mailing list