================
@@ -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) {}
----------------
ChuanqiXu9 wrote:
My compiler told me: "default member initializer for 'SkipDeclsInModules'
needed within definition of enclosing class 'MatchFinder' outside of member
functions" and I searched
https://stackoverflow.com/questions/43819314/default-member-initializer-needed-within-definition-of-enclosing-class-outside
it seems like clang may be too strict on something.
https://github.com/llvm/llvm-project/pull/145630
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits