llvm-project/clang-tools-extra/clangd/index/dex
Aleksandr Platonov e35f9229dc [clangd] Ignore the static index refs from the dynamic index files.
This patch fixes the following problem:
- open a file with references to the symbol `Foo`
- remove all references to `Foo` (from the dynamic index).
- `MergedIndex::refs()` result will contain positions of removed references (from the static index).

The idea of this patch is to keep a set of files which were used during index build inside the index.
Thus at processing the static index references we can check if the file of processing reference is a part of the dynamic index or not.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D93393
2020-12-18 15:36:30 +03:00
..
dexp [clangd] Find relations in Dex exploration tool. 2020-12-10 16:54:03 +01:00
Dex.cpp [clangd] Ignore the static index refs from the dynamic index files. 2020-12-18 15:36:30 +03:00
Dex.h [clangd] Ignore the static index refs from the dynamic index files. 2020-12-18 15:36:30 +03:00
Iterator.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
Iterator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PostingList.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
PostingList.h [clangd] Encapsulate fields in dex token. NFC 2019-07-08 02:37:06 +00:00
Token.h [clangd] Encapsulate fields in dex token. NFC 2019-07-08 02:37:06 +00:00
Trigram.cpp [clangd] Don't create as much garbage while building Dex index. 2020-05-14 13:35:44 +02:00
Trigram.h [clangd] Remove extra qualification 2020-05-14 14:06:05 +02:00