]> granicus.if.org Git - clang/commit
bindings: expose C++ access specifiers
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 25 Apr 2014 02:58:03 +0000 (02:58 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 25 Apr 2014 02:58:03 +0000 (02:58 +0000)
commit4f2e3bb97d2b431dfc302ebbd43976c24739b15e
tree7c5e96f71af67b43e94fee1a4d013bf3f675c936
parent02091f0c8ec941a8f7f21cbfde8706ada91c504c
bindings: expose C++ access specifiers

Expose the enum CX_CXXAccessSpecifier in the python bindings as a property of
the cursor.  If access specifier is not applicable to the node, return the
INVALID specifier rather than raising an exception.

Patch by Tamás Szeli!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207173 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_access_specifiers.py [new file with mode: 0644]