[cfe-commits] libclang: Patch to get an integer value from a cursor.
vinay_sajip at yahoo.co.uk
Tue Sep 27 14:13:45 CDT 2011
----- Original Message -----
> From: Argyrios Kyrtzidis <kyrtzidis at apple.com>
> When I said "expose the attributes" I meant adding the attributes that
> you are interested in CXCursorKind, see:
> CXCursor_UnexposedAttr = 400,
> CXCursor_IBActionAttr = 401,
> CXCursor_IBOutletAttr = 402,
> CXCursor_IBOutletCollectionAttr = 403,
> CXCursor_CXXFinalAttr = 404,
> CXCursor_CXXOverrideAttr = 405,
> CXCursor_LastAttr = CXCursor_CXXOverrideAttr,
> We can add new ones here.
Okay, I get it now. This will cover some cases but not other essential ones - AFAICT, you can't expose things like isInlineSpecified() or the storage class for declarations using this mechanism, because they're not exposed as attributes.
More information about the cfe-commits