[cfe-commits] libclang: Patch to get an integer value from a cursor.

Vinay Sajip vinay_sajip at yahoo.co.uk
Thu Sep 15 05:54:58 PDT 2011


I've attached a patch to allow getting useful integer values from a cursor, such as

An enumeration constant value

An unexposed declaration attribute (e.g. inline)
An unexposed expression (e.g. a bit field width)

Comments welcome.

Regards,

Vinay Sajip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cursor-value.diff
Type: application/octet-stream
Size: 2479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110915/12fe4096/attachment.obj>


More information about the cfe-commits mailing list