[clang-tools-extra] r352509 - [clangd] Make -clang-tidy-checks a non-hidden command-line arg
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 29 07:52:05 PST 2019
Author: ibiryukov
Date: Tue Jan 29 07:52:05 2019
New Revision: 352509
URL: http://llvm.org/viewvc/llvm-project?rev=352509&view=rev
Log:
[clangd] Make -clang-tidy-checks a non-hidden command-line arg
Summary:
This looks like a useful user-facing configuration parameter,
which should be discoverable.
Also fix a small typo in the description.
Reviewers: hokein
Reviewed By: hokein
Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D57384
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=352509&r1=352508&r2=352509&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp (original)
+++ clang-tools-extra/trunk/clangd/tool/ClangdMain.cpp Tue Jan 29 07:52:05 2019
@@ -203,9 +203,9 @@ static llvm::cl::opt<bool> EnableFunctio
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",
More information about the cfe-commits
mailing list