[PATCH] D64019: [clangd] Turn background-index on by default
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 09:15:38 PDT 2019
kadircet created this revision.
kadircet added a reviewer: sammccall.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64019
Files:
clang-tools-extra/clangd/tool/ClangdMain.cpp
Index: clang-tools-extra/clangd/tool/ClangdMain.cpp
===================================================================
--- clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -189,7 +189,7 @@
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",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64019.207346.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190701/48e987be/attachment.bin>
More information about the cfe-commits
mailing list