You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<source>:16:13: warning: initializer for member 'mFoo' is redundant [readability-redundant-member-init]
16 | Foo mFoo{NAME};
| ^~~~~~
1 warning generated.
It is a little more complicated in practice; we use the extra information in debug or profiling builds, but I wanted simplify for the bug report.
Anyway, I noticed that checkers like modernize-use-equals-default recently got support to ignore special member functions with macros used in their bodies. It would be nice if readability-redundant-member-init could do the same thing.