[PATCH] D26750: [clang-tidy] Add modernize-use-default-member-init check

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 04:00:19 PST 2016


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

Use hasUnaryOperand.


https://reviews.llvm.org/D26750

Files:
  clang-tidy/modernize/CMakeLists.txt
  clang-tidy/modernize/ModernizeTidyModule.cpp
  clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
  clang-tidy/modernize/UseDefaultMemberInitCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/modernize-use-default-member-init.rst
  test/clang-tidy/modernize-use-default-member-init-assignment.cpp
  test/clang-tidy/modernize-use-default-member-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26750.80869.patch
Type: text/x-patch
Size: 26218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161209/daf2f52f/attachment-0001.bin>


More information about the cfe-commits mailing list