Page MenuHomePhabricator

[clang-tidy] Match InitListExpr in modernize-use-default-member-init

Authored by malcolm.parsons on Tue, Jan 14, 3:53 AM.



modernize-use-default-member-init wasn't warning about redundant initialisers
when the initialiser was an InitListExpr. Add initListExpr to the matcher.

Fixes: PR44439

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptTue, Jan 14, 3:53 AM
This revision is now accepted and ready to land.Tue, Jan 14, 6:56 AM
This revision was automatically updated to reflect the committed changes.