This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix std::layout_left::stride(r)
ClosedPublic

Authored by crtrott on Aug 3 2023, 8:40 PM.

Details

Reviewers
philnik
Group Reviewers
Restricted Project
Commits
rG0f4d7d81c9d0: [libc++][mdspan] Fix layout_left::stride(r)
Summary

The function was using the stride calculation for layout_right not layout_left. And the test was also testing for layout_right ...

Diff Detail

Event Timeline

crtrott created this revision.Aug 3 2023, 8:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 8:40 PM
crtrott requested review of this revision.Aug 3 2023, 8:40 PM
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptAug 3 2023, 8:40 PM
philnik accepted this revision.Aug 4 2023, 12:59 AM
This revision is now accepted and ready to land.Aug 4 2023, 12:59 AM
This revision was landed with ongoing or failed builds.Aug 4 2023, 8:41 AM
This revision was automatically updated to reflect the committed changes.