This is an archive of the discontinued LLVM Phabricator instance.

[libc++] [NFC] Small cleanups in move_iterator.h
ClosedPublic

Authored by Quuxplusone on Jan 14 2022, 8:23 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG0ab54c28f8b5: [libc++] Further small cleanups of move_iterator.h. NFC.
Summary

Three NFC patches in one. The first two are completely mechanical; the third simply shuffles around some declarations so as to shrink the diff when C++20 move_iterator is finally implemented.

[libc++] Rename __i to __current_ in move_iterator. NFC.
[libc++] s/_LIBCPP_INLINE_VISIBILITY/_LIBCPP_HIDE_FROM_ABI/g in move_iterator.h. NFC.
[libc++] Further small cleanups of move_iterator.h. NFC.

Diff Detail

Event Timeline

Quuxplusone requested review of this revision.Jan 14 2022, 8:23 AM
Quuxplusone created this revision.
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptJan 14 2022, 8:23 AM
ldionne accepted this revision.Jan 14 2022, 8:27 AM

LGTM

This revision is now accepted and ready to land.Jan 14 2022, 8:27 AM
This revision was landed with ongoing or failed builds.Jan 14 2022, 12:43 PM
This revision was automatically updated to reflect the committed changes.