[PATCH] D58772: [clangd] Enable SuggestMissingIncludes by default.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 06:17:09 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE355200: [clangd] Enable SuggestMissingIncludes by default. (authored by ioeric, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D58772?vs=188701&id=188894#toc

Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58772/new/

https://reviews.llvm.org/D58772

Files:
  clangd/tool/ClangdMain.cpp


Index: clangd/tool/ClangdMain.cpp
===================================================================
--- clangd/tool/ClangdMain.cpp
+++ clangd/tool/ClangdMain.cpp
@@ -217,7 +217,7 @@
     "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 {
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58772.188894.patch
Type: text/x-patch
Size: 412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190301/c4717061/attachment-0001.bin>


More information about the cfe-commits mailing list