Default member initializers cannot refer to constructor parameters, but modernize-default-member-init was trying to when the default constructor had default arguments.
Change the check to ignore default arguments to the default constructor.
Fixes PR31524.
Any varDecl? Or do we want to limit it to only parmVarDecl instead?
It seems reasonable to suggest the member initialization be "fixed" to: int j = i;