diff options
| author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-08-28 14:55:05 +0000 |
|---|---|---|
| committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-08-28 14:55:05 +0000 |
| commit | 8212eae99689323fd2585599f132f088615f96a6 (patch) | |
| tree | 8052b57dc4d6460cf6282077f904177dfcd6094e | |
| parent | 3e331e0dace136f5c7fd7dec029e1b4fe00e3186 (diff) | |
| download | bcm5719-llvm-8212eae99689323fd2585599f132f088615f96a6.tar.gz bcm5719-llvm-8212eae99689323fd2585599f132f088615f96a6.zip | |
[clangd] Switch to Dex by default for the static index
Dex is now mature enough to be used as the default static index. This
patch performs the switch but introduces a hidden flag to allow users
fallback to Mem in case something happens.
Reviewed by: ioeric
Differential Revision: https://reviews.llvm.org/D51352
llvm-svn: 340828
| -rw-r--r-- | clang-tools-extra/clangd/tool/ClangdMain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index f22dd35e901..52c76400f35 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -29,10 +29,11 @@ using namespace clang; using namespace clang::clangd; +// FIXME: remove this option when Dex is stable enough. static llvm::cl::opt<bool> UseDex("use-dex-index", llvm::cl::desc("Use experimental Dex static index."), - llvm::cl::init(false), llvm::cl::Hidden); + llvm::cl::init(true), llvm::cl::Hidden); namespace { |

