[clang-tools-extra] [clang-tidy] Improve --verify-config documentation (PR #148699)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 14 11:54:02 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tidy
Author: Keith Smiley (keith)
<details>
<summary>Changes</summary>
Previously it wasn't clear that passing this disables otherwise running
clang-tidy.
---
Full diff: https://github.com/llvm/llvm-project/pull/148699.diff
1 Files Affected:
- (modified) clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp (+1-1)
``````````diff
diff --git a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
index 4de1caec5ec8c..97dfd0fc943b4 100644
--- a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
+++ b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -328,7 +328,7 @@ This option overrides the 'UseColor' option in
static cl::opt<bool> VerifyConfig("verify-config", desc(R"(
Check the config files to ensure each check and
-option is recognized.
+option is recognized without running any checks.
)"),
cl::init(false), cl::cat(ClangTidyCategory));
``````````
</details>
https://github.com/llvm/llvm-project/pull/148699
More information about the cfe-commits
mailing list