[PATCH] D63324: [clang-tidy] Replace memcpy by std::copy

Thomas Manceau via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 15 07:57:31 PDT 2019


Blackhart added a comment.

In D63324#1543782 <https://reviews.llvm.org/D63324#1543782>, @xbolva00 wrote:

> This might not be currently ideal recommendation since std::copy produces memmove with -O3.


What do you recommend ?
There is a way to disable this modernization if the user compile with the -O3 flag ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63324/new/

https://reviews.llvm.org/D63324





More information about the cfe-commits mailing list