================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits