[PATCH] D22725: [clang-tidy] Add check 'misc-replace-memcpy'

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 14:16:00 PDT 2016


etienneb added a comment.

In https://reviews.llvm.org/D22725#494167, @Prazek wrote:

> hmm It seems that I mislead you, I suck at C api - memmove source and destination can overlap, but std::move can't. So I guess you have to remove the memmove support. Sorry.


On windows (MSVC CRT), both function are the same : memmove.


https://reviews.llvm.org/D22725





More information about the cfe-commits mailing list