[PATCH] D24339: [clang-tidy] Add check 'readability-redundant-member-init'

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 22 09:00:21 PDT 2016


malcolm.parsons updated this revision to Diff 72181.
malcolm.parsons added a comment.

Don't remove init of const members.
Do remove calls to constructors that introduce cleanups.


https://reviews.llvm.org/D24339

Files:
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/ReadabilityTidyModule.cpp
  clang-tidy/readability/RedundantMemberInitCheck.cpp
  clang-tidy/readability/RedundantMemberInitCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-redundant-member-init.rst
  test/clang-tidy/readability-redundant-member-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24339.72181.patch
Type: text/x-patch
Size: 10798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160922/15b97c6c/attachment-0001.bin>


More information about the cfe-commits mailing list