[cfe-dev] Patch for some expressions

Joxean Koret joxeankoret at yahoo.es
Wed Jan 11 09:25:11 PST 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: text/x-patch
Size: 13517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120111/ca656c44/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120111/ca656c44/attachment.sig>


More information about the cfe-dev mailing list