[PATCH] D24339: [clang-tidy] Add check 'readability-redundant-member-init'
Malcolm Parsons via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 9 02:57:19 PDT 2016
malcolm.parsons marked 15 inline comments as done.
================
Comment at: clang-tidy/readability/RedundantMemberInitCheck.cpp:34
@@ +33,3 @@
+
+ if (Construct->getNumArgs() == 0 ||
+ Construct->getArg(0)->isDefaultArgument()) {
----------------
Other forms of initialization are not CXXConstructExprs.
https://reviews.llvm.org/D24339
More information about the cfe-commits
mailing list