llvm-project/clang-tools-extra/clangd/index
Aleksandr Platonov 91698fe45f [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge
Current indexes merge logic skip data from the static index if the file is in the dynamic index, but sometimes the dynamic index does not contain references (e.g. preamble (dynamic) index vs background (static) index).
This problem is masked with the fact, that the preamble index file list consists of file URI's and other indexes file lists consist of file paths.
This patch introduces the index contents (symbols, references, etc.), which makes indexes merge more flexible and makes it able to use URI's for the index file list.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D94952
2021-02-05 13:35:07 +03:00
..
dex [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
remote [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Background.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Background.h [clangd] Remove some obsolete options that are now always on 2021-02-01 17:24:03 +01:00
BackgroundIndexLoader.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
BackgroundIndexLoader.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
BackgroundIndexStorage.cpp [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index' 2020-07-07 14:53:45 +02:00
BackgroundQueue.cpp [clangd] Explicitly avoid background-indexing the same file twice. 2021-01-13 17:29:30 +01:00
BackgroundRebuild.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
BackgroundRebuild.h [clangd] Make background index thread count calculation clearer 2020-06-25 00:18:53 +02:00
CanonicalIncludes.cpp [clangd] Add std::size_t to StdSymbol mapping 2021-01-26 17:53:07 +01:00
CanonicalIncludes.h [clangd] Describe non-handling of most IWYU pragmas. NFC 2020-10-05 20:50:26 +02:00
FileIndex.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
FileIndex.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Index.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Index.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
IndexAction.cpp [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
IndexAction.h [clangd] Index API and implementations for relations 2019-06-15 02:26:47 +00:00
MemIndex.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
MemIndex.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Merge.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
Merge.h [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
ProjectAware.cpp [clangd] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
ProjectAware.h [clangd] Use ProjectAwareIndex in ClangdMain 2020-11-22 20:59:38 +01:00
Ref.cpp [clangd] Avoid wasteful data structures in RefSlab::Builder 2020-05-18 22:34:59 +02:00
Ref.h [clangd] Store the containing symbol for refs 2020-11-04 03:21:45 -05:00
Relation.cpp [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
Relation.h [clangd] Add OverridenBy Relation to index. 2020-11-18 06:59:49 +01:00
Serialization.cpp Fix signed/unsigned comparison warning. NFCI. 2021-01-26 15:04:49 +00:00
Serialization.h [clangd] Extend dexp to support remote index 2020-04-24 13:59:21 +02:00
Symbol.cpp Cleanup: llvm::bsearch -> llvm::partition_point after r364719 2019-06-30 11:19:56 +00:00
Symbol.h [clangd] Fix race in FileIndex that sometimes temporarily lost updates. 2020-07-01 16:47:04 +02:00
SymbolCollector.cpp [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
SymbolCollector.h [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
SymbolID.cpp [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00
SymbolID.h [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +01:00
SymbolLocation.cpp [clangd] Avoid wasteful data structures in RefSlab::Builder 2020-05-18 22:34:59 +02:00
SymbolLocation.h [clangd] Avoid wasteful data structures in RefSlab::Builder 2020-05-18 22:34:59 +02:00
SymbolOrigin.cpp [clangd] Add symbol origin for remote index 2020-11-28 15:38:11 +01:00
SymbolOrigin.h [clangd] Add symbol origin for remote index 2020-11-28 15:38:11 +01:00
YAMLSerialization.cpp [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00