This is an archive of the discontinued LLVM Phabricator instance.

[libc++][test] Move iter_swap into iterator.cust.swap. NFC.
ClosedPublic

Authored by jloser on Jan 10 2022, 9:48 PM.

Details

Summary

Move iter_swap.pass.cpp into a new subdirectory: iterator.cust.swap
for symmetry with the neighboring subdirectory iterator.cust.move.

Diff Detail

Event Timeline

jloser requested review of this revision.Jan 10 2022, 9:48 PM
jloser created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2022, 9:48 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

This moves files in the opposite direction from how I ordinarily want to; but in fact the reason we don't just git mv iterator.cust/iterator.cust.swap.pass.cpp iterator.cust/iter_swap.pass.cpp instead, is that the iterator.cust.move/ subdirectory actually contains three test files. So the subdirectory structure actually is serving some purpose in that case, and so getting this stuff onto a consistent subdirectory level sounds good.

ldionne accepted this revision.Jan 11 2022, 9:28 AM
This revision is now accepted and ready to land.Jan 11 2022, 9:28 AM