This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Add assertions before calling memmove
ClosedPublic

Authored by ldionne on Nov 28 2022, 5:40 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGb95379d20e04: [libc++][NFC] Add assertions before calling memmove
Summary

Since we're checking preconditions for calling memmove, we might
as well do that properly.

Diff Detail

Event Timeline

ldionne created this revision.Nov 28 2022, 5:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2022, 5:40 AM
ldionne requested review of this revision.Nov 28 2022, 5:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2022, 5:40 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Nov 28 2022, 8:09 AM
This revision is now accepted and ready to land.Nov 28 2022, 8:09 AM
This revision was landed with ongoing or failed builds.Nov 28 2022, 8:10 AM
This revision was automatically updated to reflect the committed changes.