[PATCH] D89284: [clangd] Propagate CollectMainFileRefs to BackgroundIndex
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 06:20:35 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcb3c13fab6be: [clangd] Propagate CollectMainFileRefs to BackgroundIndex (authored by nridge).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89284/new/
https://reviews.llvm.org/D89284
Files:
clang-tools-extra/clangd/ClangdServer.cpp
Index: clang-tools-extra/clangd/ClangdServer.cpp
===================================================================
--- clang-tools-extra/clangd/ClangdServer.cpp
+++ clang-tools-extra/clangd/ClangdServer.cpp
@@ -219,6 +219,7 @@
BGOpts.ContextProvider = [this](PathRef P) {
return createProcessingContext(P);
};
+ BGOpts.CollectMainFileRefs = Opts.CollectMainFileRefs;
BackgroundIdx = std::make_unique<BackgroundIndex>(
TFS, CDB,
BackgroundIndexStorage::createDiskBackedStorageFactory(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89284.297843.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201013/468ebfa7/attachment.bin>
More information about the cfe-commits
mailing list