[cfe-dev] Patch for some expressions

Aleksey Kovalevsky morskoyzmey at gmail.com
Sun Nov 18 04:13:16 PST 2012


Joxean Koret <joxeankoret at ...> writes:

> 
> Hi,
> 
> I don't know if it's the correct place to submit patches, anyway,
> attached goes a patch for the CLang's Python bindings to add support for
> the Tokenization API (the code was wrote by Manuel Holtgrewe) and also
> for adding a property to the cursor object called 'expression'. This
> property retrieves the operator or the literal expression (the unique
> CursorKinds I added support to ATM). This way, nobody needs to code
> horrible hacks in order to get those expressions.
> 
> @Manuel: I hope it's OK to submit to the list your code among mine in
> the patch.
> 
> Regards,
> Joxean Koret

Thank you very much! Your patch helped alot! 
I actually don't using Python binding, just libclang, but your 
clang_getCursorExpression() should be commited it to 3.2

Best regards,
Alexey Kovalevsky




More information about the cfe-dev mailing list