Index: clangd/tool/ClangdMain.cpp =================================================================== --- clangd/tool/ClangdMain.cpp +++ clangd/tool/ClangdMain.cpp @@ -27,11 +27,6 @@ namespace clang { namespace clangd { -// FIXME: remove this option when Dex is cheap enough. -static llvm::cl::opt - UseDex("use-dex-index", - llvm::cl::desc("Use experimental Dex dynamic index."), - llvm::cl::init(false), llvm::cl::Hidden); static llvm::cl::opt CompileCommandsDir( "compile-commands-dir", @@ -394,7 +389,7 @@ if (!ResourceDir.empty()) Opts.ResourceDir = ResourceDir; Opts.BuildDynamicSymbolIndex = EnableIndex; - Opts.HeavyweightDynamicSymbolIndex = UseDex; + Opts.HeavyweightDynamicSymbolIndex = true; Opts.BackgroundIndex = EnableBackgroundIndex; Opts.BackgroundIndexRebuildPeriodMs = BackgroundIndexRebuildPeriod; std::unique_ptr StaticIdx;