[clang-tools-extra] [clang-tidy] fix verify config for custom checks (PR #192260)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 18 09:52:14 PDT 2026
================
@@ -700,8 +700,23 @@ int clangTidyMain(int argc, const char **argv) {
if (VerifyConfig) {
const std::vector<ClangTidyOptionsProvider::OptionsSource> RawOptions =
OptionsProvider->getRawOptions(FileName);
+
+ ClangTidyOptions AllCustomChecksOptions;
+ {
----------------
Totto16 wrote:
To not "leak" the names to the outer scope, if it is not fine with the coding standard, its no problem removing them, as they serve no functional point.
https://github.com/llvm/llvm-project/pull/192260
More information about the cfe-commits
mailing list