Page MenuHomePhabricator

Teach the swift calling convention about _Atomic types
ClosedPublic

Authored by aschwaighofer on Aug 19 2020, 8:11 AM.

Diff Detail

Event Timeline

aschwaighofer created this revision.Aug 19 2020, 8:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2020, 8:11 AM
aschwaighofer requested review of this revision.Aug 19 2020, 8:11 AM

Try to sooth clang-tidy

Please do this as a very late check rather than the first check.

You need to check for extra atomic padding. If there's any difference between the sizes of the atomic type and its element, just add it as opaque data.

Respect atomic padding.

rjmccall accepted this revision.Aug 21 2020, 2:55 PM

Thanks, LGTM.

This revision is now accepted and ready to land.Aug 21 2020, 2:55 PM