[cindex.py] expose C++ access specifiers in the libclang Python bindings

Saleem Abdulrasool compnerd at compnerd.org
Thu Apr 24 20:06:57 PDT 2014


On Sun, Feb 23, 2014 at 8:01 AM, Tamás Szelei <hello.sztomi at gmail.com>wrote:

> Pinging this patch.
>

A slightly modified version committed in r207173.

Thanks for the patch!  (Sorry about the typo in your name :-().


> -- sztomi
>
>
> On Sun, Feb 16, 2014 at 4:18 PM, Tamás Szelei <hello.sztomi at gmail.com>wrote:
>
>> Hello,
>>
>> This patch exposes the enum CX_CXXAccessSpecifier in the Python bindings
>> as a property of the Cursor. The naming and implementation mimics that of
>> the CursorKind enum. Since there is an INVALID value in the enum, the
>> property does not raise when getting the access specifier would not make
>> sense on the node pointed by the cursor. It simply returns the INVALID
>> value.
>> This is my first patch to this project, please provide feedback.
>>
>> Regards,
>> Tamás Szelei
>>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>


-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140424/e72a86c7/attachment.html>


More information about the cfe-commits mailing list