[PATCH] D94503: [clangd] Avoid having the same file in the queue twice in the background index.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 10:10:25 PST 2021


sammccall updated this revision to Diff 316152.
sammccall retitled this revision from "[clangd] Avoid having the same file in the queue twice in the background index.

(For future reference. We decided not to do this for now in favor of simply not
re-indexing the same CDB multiple times, as too much infrastructure needs to be..." to "[clangd] Avoid having the same file in the queue twice in the background index.".
sammccall edited the summary of this revision.
sammccall added a comment.

In fact, never index the same file twice at all.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94503/new/

https://reviews.llvm.org/D94503

Files:
  clang-tools-extra/clangd/index/Background.cpp
  clang-tools-extra/clangd/index/Background.h
  clang-tools-extra/clangd/index/BackgroundQueue.cpp
  clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94503.316152.patch
Type: text/x-patch
Size: 9049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210112/c5bd214c/attachment.bin>


More information about the cfe-commits mailing list