[clang-tools-extra] r355200 - [clangd] Enable SuggestMissingIncludes by default.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 1 06:17:56 PST 2019
Author: ioeric
Date: Fri Mar 1 06:17:55 2019
New Revision: 355200
URL: http://llvm.org/viewvc/llvm-project?rev=355200&view=rev
Log:
[clangd] Enable SuggestMissingIncludes by default.
Summary: This seems to work stably now. Turn on by default.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58772
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=355200&r1=355199&r2=355200&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Fri Mar 1 06:17:55 2019
@@ -217,7 +217,7 @@ static llvm::cl::opt<bool> SuggestMissin
"suggest-missing-includes",
llvm::cl::desc("Attempts to fix diagnostic errors caused by missing "
"includes using index."),
- llvm::cl::init(false));
+ llvm::cl::init(true));
namespace {
More information about the cfe-commits
mailing list