Fix clang-tidy modernize-use-default-member-init warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-10 09:32:23 -07:00
parent a05b4abdf7
commit fb55c8856e
49 changed files with 134 additions and 185 deletions

View file

@ -112,13 +112,11 @@ private:
friend class RuleMatcher;
struct PatternSet {
PatternSet() : re() {}
// If we're above the 'RE_level' (see RuleMatcher), this
// expr contains all patterns on this node. If we're on
// 'RE_level', it additionally contains all patterns
// of any of its children.
Specific_RE_Matcher* re;
Specific_RE_Matcher* re = nullptr;
// All the patterns and their rule indices.
string_list patterns;