]> granicus.if.org Git - clang/commit
clang-c: Add the clang_getCursorVisibility() API
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 31 May 2016 15:55:51 +0000 (15:55 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 31 May 2016 15:55:51 +0000 (15:55 +0000)
commitd3c40bafeea1f5bf2f02b987f785c11d0262f0b7
tree3a4e7f2a26c88e6771bc164e59cb1acbc5a94d3a
parentdafa8b914283a5d23890d4f76052dbef717e47e8
clang-c: Add the clang_getCursorVisibility() API

This patch adds an API for querying the visibility of the entity
referred to by a cursor.

Patch by Michael Wu <mwu@mozilla.com>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271292 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/symbol-visibility.c [new file with mode: 0644]
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
tools/libclang/libclang.exports