[PATCH] D22725: [clang-tidy] Add check 'misc-replace-memcpy'
Jonas Devlieghere via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 24 08:10:37 PDT 2016
JDevlieghere removed rL LLVM as the repository for this revision.
JDevlieghere updated this revision to Diff 65273.
JDevlieghere added a comment.
- Extended check to replace memmove with std::move and memset with std::fill
- Renamed check to modernize-use-algorithm (I'd be equally fine with moving it to misc again)
- Added more documentation to better describe the goal of this check
- Fixed macro test and added cases for memmove and memset
https://reviews.llvm.org/D22725
Files:
clang-tidy/modernize/CMakeLists.txt
clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tidy/modernize/UseAlgorithmCheck.cpp
clang-tidy/modernize/UseAlgorithmCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/modernize-use-algorithm.rst
test/clang-tidy/modernize-use-algorithm.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22725.65273.patch
Type: text/x-patch
Size: 12995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160724/d1998c6c/attachment-0001.bin>
More information about the cfe-commits
mailing list