[clang-tools-extra] r365124 - [clangd] Turn background-index on by default
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 4 02:56:24 PDT 2019
Author: kadircet
Date: Thu Jul 4 02:56:24 2019
New Revision: 365124
URL: http://llvm.org/viewvc/llvm-project?rev=365124&view=rev
Log:
[clangd] Turn background-index on by default
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64019
Modified:
clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
Modified: clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp?rev=365124&r1=365123&r2=365124&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Thu Jul 4 02:56:24 2019
@@ -189,7 +189,7 @@ static llvm::cl::opt<bool> EnableBackgro
llvm::cl::desc(
"Index project code in the background and persist index on disk. "
"Experimental"),
- llvm::cl::init(false), llvm::cl::Hidden);
+ llvm::cl::init(true));
static llvm::cl::opt<int> BackgroundIndexRebuildPeriod(
"background-index-rebuild-period",
More information about the cfe-commits
mailing list