[PATCH] D51352: [clangd] Switch to Dex by default for the static index

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 28 06:25:43 PDT 2018

kbobyrev updated this revision to Diff 162842.
kbobyrev marked 2 inline comments as done.



Index: clang-tools-extra/clangd/tool/ClangdMain.cpp
--- clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -29,10 +29,12 @@
 using namespace clang;
 using namespace clang::clangd;
+// FIXME(kbobyrev): This option should be removed as Dex is now the default
+// static index.
 static llvm::cl::opt<bool>
            llvm::cl::desc("Use experimental Dex static index."),
-           llvm::cl::init(false), llvm::cl::Hidden);
+           llvm::cl::init(true), llvm::cl::Hidden);
 namespace {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51352.162842.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180828/dd4e5751/attachment-0001.bin>

More information about the cfe-commits mailing list