llvm-project/clang/tools
Fangrui Song 31b97194e6 [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo
Summary:
CXIdxEntityRefInfo contains the member `CXIdxEntityRefKind kind;` to
differentiate implicit and direct calls. However, there are more roles
defined in SymbolRole. Among them, `Read/Write` are probably the most
useful ones as they can be used to differentiate Read/Write occurrences
of a symbol for document highlight in a text document.

See `export namespace DocumentHighlightKind`
on https://microsoft.github.io/language-server-protocol/specification

Subscribers: cfe-commits

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

llvm-svn: 324914
2018-02-12 17:42:09 +00:00
..
arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
clang-check [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-diff [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
clang-format-vs clang-format plugin: Add missing NL (new line) at EOF (end of file) 2017-09-22 21:47:39 +00:00
clang-func-mapping [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-fuzzer [clang-proto-to-cxx] Accept protobufs with missing fields. 2018-02-02 20:22:20 +00:00
clang-import-test [clang-import-test] Run clang-format, NFC 2018-02-07 21:17:22 +00:00
clang-offload-bundler [NFC] fix trivial typos in comments 2018-01-29 05:15:18 +00:00
clang-refactor [cmake] Delete redundant install command for clang-refactor. 2018-01-10 01:00:28 +00:00
clang-rename [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
driver [Driver] Suggest valid integrated tools 2018-01-15 21:05:40 +00:00
libclang [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
scan-build [scan-build] Add an option to skip overriding CC and CXX make vars 2018-01-29 16:49:34 +00:00
scan-build-py Fix typos of occurred and occurrence 2018-01-24 10:26:09 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00