commit | 912c0962bfa6851af782ad2eb66387e199af79cc | [log] [tgz] |
---|---|---|
author | serge-sans-paille <sguelton@mozilla.com> | Mon Oct 28 20:40:52 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 28 13:45:16 2024 -0700 |
tree | dc25ac56b93b5041719ed2dd460fb85b3b569fb9 | |
parent | a1499d2d10f22621e46ea6f43945f514a3687ff1 [diff] |
[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. GitOrigin-RevId: 71315698c91d0cda054b903da0594ca6f072c350