[PATCH] D57384: [clangd] Make -clang-tidy-checks a non-hidden command-line arg

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 07:13:42 PST 2019


ilya-biryukov created this revision.
ilya-biryukov added a reviewer: hokein.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ioeric.

This looks like a useful user-facing configuration parameter,
which should be discoverable.

Also fix a small typo in the description.


https://reviews.llvm.org/D57384

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
@@ -203,9 +203,9 @@
 
 static llvm::cl::opt<std::string> ClangTidyChecks(
     "clang-tidy-checks",
-    llvm::cl::desc("List of clang-tidy checks to run (this will overrides "
+    llvm::cl::desc("List of clang-tidy checks to run (this will override "
                    ".clang-tidy files)"),
-    llvm::cl::init(""), llvm::cl::Hidden);
+    llvm::cl::init(""));
 
 static llvm::cl::opt<bool> SuggestMissingIncludes(
     "suggest-missing-includes",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57384.184082.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190129/4b160209/attachment.bin>


More information about the cfe-commits mailing list