[clang] [compiler-rt] [libcxx] [llvm] [clang] Warn about memset/memcpy to NonTriviallyCopyable types (PR #111434)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 05:39:46 PDT 2024


carlosgalvezp wrote:

> ACK. Not a standard requirement though, is it?

Correct, it's only UB on non-trivially-copyable. My point was more about if we want to be consistent with GCC or not. I don't have any strong opinion on that.

https://github.com/llvm/llvm-project/pull/111434


More information about the cfe-commits mailing list