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

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 07:42:28 PDT 2016


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

Add test for initializing a union member.
Add test for multiple inheritance.


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
  clang-tidy/utils/TypeTraits.cpp
  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.73479.patch
Type: text/x-patch
Size: 11567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161004/4c437c38/attachment.bin>


More information about the cfe-commits mailing list