diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-05 18:53:43 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-05 18:53:43 +0000 |
commit | 79c6971cdf6591b0daabc22a1be4707bca1b0156 (patch) | |
tree | af22680d7230b849997bc1c07f05da30a597c8de /clang/tools/libclang/CXCursor.cpp | |
parent | ea33e5e88e0e55c05a659d0b5f85327e204faa49 (diff) | |
download | bcm5719-llvm-79c6971cdf6591b0daabc22a1be4707bca1b0156.tar.gz bcm5719-llvm-79c6971cdf6591b0daabc22a1be4707bca1b0156.zip |
Index: expose visibility attribute
Expose the previously unexposed visibility attribute via the python and C
bindings.
llvm-svn: 246931
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
-rw-r--r-- | clang/tools/libclang/CXCursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp index 257a1921d34..9a866c509dc 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -58,6 +58,7 @@ static CXCursorKind GetCursorKind(const Attr *A) { case attr::CUDAGlobal: return CXCursor_CUDAGlobalAttr; case attr::CUDAHost: return CXCursor_CUDAHostAttr; case attr::CUDAShared: return CXCursor_CUDASharedAttr; + case attr::Visibility: return CXCursor_VisibilityAttr; } return CXCursor_UnexposedAttr; |