llvm-project/clang/include/clang-c
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
..
BuildSystem.h Add clang_free to libclang to free memory allocated in libclang. 2015-07-09 07:53:23 +00:00
CXCompilationDatabase.h [index] Fix typo: inferface -> interface 2017-06-16 20:58:26 +00:00
CXErrorCode.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CXString.h libclang: add new StringSet type 2015-11-12 03:57:16 +00:00
Documentation.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Index.h [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
Platform.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
module.modulemap The Clang C API does not require C++. Thanks to Jordan Rose for pointing out this error! 2014-06-12 22:09:11 +00:00