[all-commits] [llvm/llvm-project] 9738c7: [clang-tidy] Match InitListExpr in modernize-use-d...
Malcolm Parsons via All-commits
all-commits at lists.llvm.org
Tue Jan 14 07:29:53 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9738c757bd9bc2fdca935f2b4e356f1d5e5f3682
https://github.com/llvm/llvm-project/commit/9738c757bd9bc2fdca935f2b4e356f1d5e5f3682
Author: Malcolm Parsons <malcolm.parsons at gmail.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
Log Message:
-----------
[clang-tidy] Match InitListExpr in modernize-use-default-member-init
Summary:
modernize-use-default-member-init wasn't warning about redundant initialisers
when the initialiser was an InitListExpr. Add initListExpr to the matcher.
Fixes: PR44439
Reviewers: aaron.ballman, alexfh, JonasToth
Reviewed By: aaron.ballman
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72691
More information about the All-commits
mailing list