[clang] [libcxx] [clang] Warn about memset/memcpy to NonTriviallyCopyable types (PR #111434)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 29 10:22:25 PDT 2024
erichkeane wrote:
> Thanks! I can reproduce. The easy fix is to deactivate the warning for c source but I'd like to udnerstand why it considers that structure as non trivially copyable first :-)
Yeah, agreed completely. No C structure, afaik, should ever be non-trivially copyable.
https://github.com/llvm/llvm-project/pull/111434
More information about the cfe-commits
mailing list