forked from OSchip/llvm-project
[clangd] Propagate CollectMainFileRefs to BackgroundIndex
This appears to have been an omission in D83536. Differential Revision: https://reviews.llvm.org/D89284
This commit is contained in:
parent
647fb6b374
commit
cb3c13fab6
|
@ -219,6 +219,7 @@ ClangdServer::ClangdServer(const GlobalCompilationDatabase &CDB,
|
|||
BGOpts.ContextProvider = [this](PathRef P) {
|
||||
return createProcessingContext(P);
|
||||
};
|
||||
BGOpts.CollectMainFileRefs = Opts.CollectMainFileRefs;
|
||||
BackgroundIdx = std::make_unique<BackgroundIndex>(
|
||||
TFS, CDB,
|
||||
BackgroundIndexStorage::createDiskBackedStorageFactory(
|
||||
|
|
Loading…
Reference in New Issue