[PATCH] D32700: [clang-tidy] Add misc-suspicious-memset-usage check.
Reka Kovacs via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 6 05:52:14 PDT 2017
rnkovacs updated this revision to Diff 105401.
rnkovacs edited the summary of this revision.
rnkovacs added a comment.
- Merged in the `google-runtime-memset-zero-length` check.
- Added a separate check for memory manipulation functions: `misc-undefined-memory-manipulation` <https://reviews.llvm.org/D35051>.
https://reviews.llvm.org/D32700
Files:
clang-tidy/google/CMakeLists.txt
clang-tidy/google/GoogleTidyModule.cpp
clang-tidy/google/MemsetZeroLengthCheck.cpp
clang-tidy/google/MemsetZeroLengthCheck.h
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/google-runtime-memset.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-suspicious-memset-usage.rst
test/clang-tidy/google-runtime-memset-zero-length.cpp
test/clang-tidy/misc-suspicious-memset-usage.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32700.105401.patch
Type: text/x-patch
Size: 24984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170706/f32eafe5/attachment-0001.bin>
More information about the cfe-commits
mailing list