[PATCH] D83290: [clangd] Enable async preambles by default
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 01:58:08 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1c7c5019a7ad: [clangd] Enable async preambles by default (authored by kadircet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83290/new/
https://reviews.llvm.org/D83290
Files:
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/TUScheduler.h
Index: clang-tools-extra/clangd/TUScheduler.h
===================================================================
--- clang-tools-extra/clangd/TUScheduler.h
+++ clang-tools-extra/clangd/TUScheduler.h
@@ -194,7 +194,7 @@
/// Whether to run PreamblePeer asynchronously.
/// No-op if AsyncThreadsCount is 0.
- bool AsyncPreambleBuilds = false;
+ bool AsyncPreambleBuilds = true;
/// Used to create a context that wraps each single operation.
/// Typically to inject per-file configuration.
Index: clang-tools-extra/clangd/ClangdServer.h
===================================================================
--- clang-tools-extra/clangd/ClangdServer.h
+++ clang-tools-extra/clangd/ClangdServer.h
@@ -100,7 +100,7 @@
bool StorePreamblesInMemory = true;
/// Reuse even stale preambles, and rebuild them in the background.
/// This improves latency at the cost of accuracy.
- bool AsyncPreambleBuilds = false;
+ bool AsyncPreambleBuilds = true;
/// If true, ClangdServer builds a dynamic in-memory index for symbols in
/// opened files and uses the index to augment code completion results.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83290.276667.patch
Type: text/x-patch
Size: 1145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200709/383a674e/attachment-0001.bin>
More information about the cfe-commits
mailing list