[clangd] Switch to Dex by default for the static index
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>
Tue, 28 Aug 2018 14:55:05 +0000 (14:55 +0000)
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>
Tue, 28 Aug 2018 14:55:05 +0000 (14:55 +0000)
commit8212eae99689323fd2585599f132f088615f96a6
tree8052b57dc4d6460cf6282077f904177dfcd6094e
parent3e331e0dace136f5c7fd7dec029e1b4fe00e3186
[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
clang-tools-extra/clangd/tool/ClangdMain.cpp