diff options
author | Fangrui Song <maskray@google.com> | 2018-02-12 17:42:09 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-02-12 17:42:09 +0000 |
commit | 31b97194e65a55b75f10155c7216f0cf9124573e (patch) | |
tree | ee3bb710b3cd8cd4deb7301518f462222fe32693 /clang/unittests/Driver/ModuleCacheTest.cpp | |
parent | b0a17edff7f8873a33e304077b7528e2ed09e36b (diff) | |
download | bcm5719-llvm-31b97194e65a55b75f10155c7216f0cf9124573e.tar.gz bcm5719-llvm-31b97194e65a55b75f10155c7216f0cf9124573e.zip |
[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
Diffstat (limited to 'clang/unittests/Driver/ModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions