[PATCH] D13388: Add support for querying the visibility of a cursor

Michael Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 09:10:47 PDT 2015


michaelwu created this revision.
michaelwu added a subscriber: cfe-commits.

This patch implements clang_getCursorVisibility which provides access to NamedDecl::getVisibility. It's been very useful for me when generating bindings.

http://reviews.llvm.org/D13388

Files:
  include/clang-c/Index.h
  test/Index/symbol-visibility.c
  tools/c-index-test/c-index-test.c
  tools/libclang/CIndex.cpp
  tools/libclang/libclang.exports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13388.36370.patch
Type: text/x-patch
Size: 5575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151002/11f66de7/attachment.bin>


More information about the cfe-commits mailing list