[clang-tools-extra] [clang-tidy] Improve --verify-config documentation (PR #148699)
Keith Smiley via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 14 11:53:29 PDT 2025
https://github.com/keith created https://github.com/llvm/llvm-project/pull/148699
Previously it wasn't clear that passing this disables otherwise running
clang-tidy.
>From 24cdc2b4087f23f7384fb9504a0bccce0ad914fa Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Mon, 14 Jul 2025 11:52:21 -0700
Subject: [PATCH] [clang-tidy] Improve --verify-config documentation
Previously it wasn't clear that passing this disables otherwise running
clang-tidy.
---
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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));
More information about the cfe-commits
mailing list