We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3a598 commit 3d2cf72Copy full SHA for 3d2cf72
clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -682,7 +682,6 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
682
if (!ResourceDir.empty())
683
Opts.ResourceDir = ResourceDir;
684
Opts.BuildDynamicSymbolIndex = EnableIndex;
685
- Opts.BackgroundIndex = EnableBackgroundIndex;
686
std::unique_ptr<SymbolIndex> StaticIdx;
687
std::future<void> AsyncIndexLoad; // Block exit while loading the index.
688
if (EnableIndex && !IndexFile.empty()) {
@@ -713,6 +712,7 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
713
712
}
714
715
#endif
+ Opts.BackgroundIndex = EnableBackgroundIndex;
716
Opts.StaticIndex = StaticIdx.get();
717
Opts.AsyncThreadsCount = WorkerThreadsCount;
718
Opts.BuildRecoveryAST = RecoveryAST;
0 commit comments