[clang] [clang-tools-extra] [clang-tidy] [Modules] Skip checking decls in clang-tidy (PR #145630)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 07:32:32 PDT 2025
================
@@ -139,6 +139,11 @@ class MatchFinder {
///
/// It prints a report after match.
std::optional<Profiling> CheckProfiling;
+
+ bool SkipDeclsInModules = false;
+
+ MatchFinderOptions()
+ : CheckProfiling(std::nullopt), SkipDeclsInModules(false) {}
----------------
steakhal wrote:
```suggestion
```
I think the compiler generated default ctor should do exactly this.
https://github.com/llvm/llvm-project/pull/145630
More information about the cfe-commits
mailing list