This is an archive of the discontinued LLVM Phabricator instance.

[libc] Make UInt<T> trivially copyable
ClosedPublic

Authored by mikhail.ramalho on Apr 20 2023, 5:24 AM.

Details

Summary

This patch defaults the copy constructor and copy operator so it can be
used with __builtin_bit_cast

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 20 2023, 5:24 AM
mikhail.ramalho requested review of this revision.Apr 20 2023, 5:24 AM
sivachandra accepted this revision.Apr 20 2023, 8:53 AM
This revision is now accepted and ready to land.Apr 20 2023, 8:53 AM
This revision was landed with ongoing or failed builds.Apr 20 2023, 9:01 AM
This revision was automatically updated to reflect the committed changes.