]> granicus.if.org Git - clang/commit
[libclang] Add support for querying cursor availability
authorJonathan Coe <jbcoe@me.com>
Mon, 16 Oct 2017 23:46:02 +0000 (23:46 +0000)
committerJonathan Coe <jbcoe@me.com>
Mon, 16 Oct 2017 23:46:02 +0000 (23:46 +0000)
commite38adb6a0ade0c79336acab5c94b2fe616ae0f58
tree9c294842e4bad7076b74ba57d50c966aff2d946e
parent11e6fda273d7519bacf13475a98ecba6c41968b1
[libclang] Add support for querying cursor availability

Summary:
This patch allows checking the availability of cursors through libclang and clang.cindex (Python).
This e.g. allows to check whether a C++ member function has been marked as deleted.

Reviewers: arphaman, jbcoe

Reviewed By: jbcoe

Subscribers: cfe-commits

Tags: #clang

Patch by jklaehn (Johann Klähn)

Differential Revision: https://reviews.llvm.org/D36973

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315959 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_cursor.py