llvm-project
71315698 - [clang] Warn about memset/memcpy to NonTriviallyCopyable types (#111434)

Commit
341 days ago
[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.
Parents
Loading