[PATCH] D64575: [clangd] Prioritize indexing of files that share a basename with the open file.
Sam McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 11:03:32 PDT 2019
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: llvm-commits, arphaman, jkorous, MaskRay, javed.absar, ilya-biryukov.
Herald added a project: LLVM.
In practice, opening Foo.h will still often result in Foo.cpp making the
second index build instead of the first, as the rebuild policy doesn't
know to wait.
Repository:
rL LLVM
https://reviews.llvm.org/D64575
Files:
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/index/Background.cpp
clang-tools-extra/clangd/index/Background.h
clang-tools-extra/clangd/index/BackgroundQueue.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64575.209265.patch
Type: text/x-patch
Size: 7830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190711/a0f22b64/attachment.bin>
More information about the llvm-commits
mailing list