[PATCH] D32700: [clang-tidy] Add misc-suspicious-memset-usage check.

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 5 01:45:26 PDT 2017


rnkovacs updated this revision to Diff 97917.
rnkovacs edited the summary of this revision.
rnkovacs added a comment.

- Removed case related to virtual pointers as there is a diagnostic flag for that.
- Added case warning for calls on classes with a constructor or destructor. Changed tests and docs accordingly.


https://reviews.llvm.org/D32700

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/SuspiciousMemsetUsageCheck.cpp
  clang-tidy/misc/SuspiciousMemsetUsageCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-suspicious-memset-usage.rst
  test/clang-tidy/misc-suspicious-memset-usage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32700.97917.patch
Type: text/x-patch
Size: 14148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170505/4ed05ba8/attachment.bin>


More information about the cfe-commits mailing list