llvm-project/clang/test
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 Avoid assumption that lit tests are writable. NFC 2018-01-08 15:05:01 +00:00
ASTMerge [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Analysis [analyzer] Fix a merge error in -analyzer-config tests. 2018-02-10 03:04:59 +00:00
CXX [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
CodeCompletion [CodeComplete] Omit templated constructors from member list too. 2018-01-22 20:44:47 +00:00
CodeGen Make attribute-target on a Definition-after-use update the LLVM attributes 2018-02-12 17:01:41 +00:00
CodeGenCUDA [CUDA] CUDA has no device-side library builtins. 2018-01-23 19:08:18 +00:00
CodeGenCXX Re-commit r324490: [DebugInfo] Improvements to representation of enumeration types (PR36168) 2018-02-12 16:12:52 +00:00
CodeGenCoroutines [coroutines] Fix application of NRVO to Coroutine "Gro" or return object. 2018-02-01 23:47:54 +00:00
CodeGenObjC Add a testcase for PR36268. 2018-02-08 01:17:26 +00:00
CodeGenObjCXX Remove "CHECK: entry" in test case. 2018-02-09 19:25:31 +00:00
CodeGenOpenCL AMDGPU: Update for datalayout change 2018-02-09 16:58:41 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
Driver [CUDA] Add option to generate relocatable device code 2018-02-12 10:46:45 +00:00
FixIt [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
Format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
Frontend Recommit r324107 again. 2018-02-07 22:15:33 +00:00
Headers In stdbool.h, define bool, false, true only in gnu++98 2017-12-08 08:28:08 +00:00
Import [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Index [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout
Lexer [Lex] Fix handling numerical literals ending with ' and signed exponent. 2018-02-06 22:39:25 +00:00
Misc Update target-note-test to be current with the AMDGPU changes 2018-02-12 17:19:57 +00:00
Modules Re-commit r324490: [DebugInfo] Improvements to representation of enumeration types (PR36168) 2018-02-12 16:12:52 +00:00
OpenMP Recommit rL323952: [DebugInfo] Enable debug information for C99 VLA types. 2018-02-03 13:55:59 +00:00
PCH Avoid assumption that lit tests are writable (in a couple more places). NFC 2018-01-09 09:32:53 +00:00
Parser Allow the NS, CF, and ObjC attributes to be used with -fdouble-square-bracket-attributes. The syntactic locations for such attributes on ObjC constructs have been specifically chosen to follow the GNU attribute syntactic locations. 2018-02-12 13:38:25 +00:00
Preprocessor Support `#pragma comment(lib, "name")` in the frontend for ELF 2018-02-07 01:46:46 +00:00
Profile [PGO] Detect more structural changes with the stable hash 2017-11-14 23:56:53 +00:00
Refactor [refactor][extract] avoid extracting expressions from types in functions 2017-11-14 18:59:01 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema [Sema] Don't mark plain MS enums as fixed 2018-02-12 17:37:06 +00:00
SemaCUDA [CUDA] Report "unsupported VLA" errors only on device side. 2017-11-28 18:51:42 +00:00
SemaCXX Fif for an issue when Clang permits assignment to vector/extvector elements in a const method. 2018-02-09 09:30:42 +00:00
SemaObjC [Sema][ObjC] Use SmallSetVector to fix a failing test on the reverse 2018-02-06 23:44:40 +00:00
SemaObjCXX Add support for attribute 'trivial_abi'. 2018-02-05 20:23:22 +00:00
SemaOpenCL [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
SemaTemplate PR36055: fix computation of *-dependence in nested initializer lists. 2018-02-07 22:25:16 +00:00
TableGen
Templight [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Tooling Fix test clang-diff-json.cpp 2018-02-10 21:28:55 +00:00
Unit [lit] Set shlibpath_var on Solaris 2017-11-27 13:33:19 +00:00
VFS Avoid assumption that lit tests are writable. NFC 2018-01-08 15:05:01 +00:00
clang-rename [clang-rename] Fix and enable the failing TemplatedClassFunction test. 2017-10-25 08:25:25 +00:00
.clang-format
CMakeLists.txt [cmake] Follow-up to rL320494. 2017-12-12 19:47:40 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [debuginfo] Remove temporary FIXME. 2017-12-14 22:12:46 +00:00
lit.site.cfg.py.in [lit] Add host_cxx to lit config 2017-10-10 17:53:45 +00:00
make_test_dirs.pl