================
@@ -68,12 +70,19 @@ IncludeCleanerCheck::IncludeCleanerCheck(StringRef Name,
HeaderSuffix += "$";
IgnoreHeadersRegex.emplace_back(HeaderSuffix);
}
+
+ if (UnusedIncludes == false && MissingIncludes == false)
+ this->configurationDiag("The check 'misc-include-cleaner' will not "
----------------
vbvictor wrote:
This behavior should be checked in tests (write small file same as
`clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-wrong-config.cpp`)
https://github.com/llvm/llvm-project/pull/140600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits