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

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Sep 27 12:13:45 PDT 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. 

Regards,

Vinay Sajip





More information about the cfe-commits mailing list