[PATCH] D94503: [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 notre-indexing the same CDB multiple times, as too much infrastructure needs to be...

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 08:48:06 PST 2021


sammccall created this revision.
Herald added subscribers: usaxena95, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.

...updated and in practice it's often a net negative)


Repository:
  rG LLVM Github Monorepo

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.316107.patch
Type: text/x-patch
Size: 6485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210112/56fd7476/attachment.bin>


More information about the cfe-commits mailing list