diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2025-09-15 22:14:18 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2025-09-15 22:14:18 +0000 |
commit | 34a006eaa39ceb6b0a96fa386c9b9b8a44681979 (patch) | |
tree | 59c69306d81da258e4212d97c66ed3b137a7ad62 /contrib/llvm-project/lldb/tools/(public-mirror) | |
parent | 086ce467adec42d58414fdb4d54c2b6819cf0c07 (diff) |
Apply part of LLVM commit 71315698c91d0cda054b903da0594ca6f072c350 to
silence the -Wnontrivial-memaccess warning that is triggered any time
this function is instantiated by user code. This fixes another
buildworld failure with Clang HEAD.
Original commit message:
[clang] Warn about memset/memcpy to NonTriviallyCopyable types (#111434)
This implements a warning that's similar to what GCC does in that
context: both memcpy and memset require their first and second operand
to be trivially copyable, let's warn if that's not the case.
Reviewed by: emaste, dim
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D52534
Diffstat (limited to 'contrib/llvm-project/lldb/tools/(public-mirror)')
0 files changed, 0 insertions, 0 deletions