diff options
| author | Ilya Biryukov <ibiryukov@google.com> | 2019-01-29 15:52:05 +0000 |
|---|---|---|
| committer | Ilya Biryukov <ibiryukov@google.com> | 2019-01-29 15:52:05 +0000 |
| commit | 73afee2d7cb2fc3945ec0de051465c41ed0961c6 (patch) | |
| tree | c95e337a0880e5f075cb21993d242b669fe21d37 | |
| parent | 5b04e0a3fd3bb5db126453eb61281afca00aeda9 (diff) | |
| download | bcm5719-llvm-73afee2d7cb2fc3945ec0de051465c41ed0961c6.tar.gz bcm5719-llvm-73afee2d7cb2fc3945ec0de051465c41ed0961c6.zip | |
[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
llvm-svn: 352509
| -rw-r--r-- | clang-tools-extra/clangd/tool/ClangdMain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp index e83ac2f1ce5..69732ebff4f 100644 --- a/clang-tools-extra/clangd/tool/ClangdMain.cpp +++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp @@ -203,9 +203,9 @@ static llvm::cl::opt<bool> EnableFunctionArgSnippets( 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", |

