This is an archive of the discontinued LLVM Phabricator instance.

[libc++] [test] Use hidden friends consistently in the test iterators
ClosedPublic

Authored by Quuxplusone on Jan 15 2022, 7:57 AM.

Diff Detail

Event Timeline

Quuxplusone requested review of this revision.Jan 15 2022, 7:57 AM
Quuxplusone created this revision.
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptJan 15 2022, 7:57 AM

LGTM % comment

libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
26225

Not in this PR, but maybe this test should be split into multiple tests? 26k lines might be a bit to long.

libcxx/test/support/test_iterators.h
132–133

Please put this below operator!= to be consistent with the others.

Quuxplusone marked an inline comment as done.

Fix the C++03 test failure (reverse_iterator's operator- is not SFINAEd away in C++03 mode).
non_default_constructible_iterator is redundant and should be removed entirely, but I'll make a separate PR for that.

philnik accepted this revision.Jan 15 2022, 11:01 AM
ldionne accepted this revision.Jan 18 2022, 9:30 AM
This revision is now accepted and ready to land.Jan 18 2022, 9:30 AM