This PR now contains three single-file diffs, each orthogonal to the other two, each NFC, each to be landed in a separate commit.
[libc++] [test] Refactor range.prim/empty.pass.cpp
No decrease in test coverage intended. The original goal here
was just to get rid of the global name sentinel so that we can
rename the sentinel_wrapper in "test_iterators.h" to sentinel;
but then I took a closer look at the offending tests and saw
that some of them probably weren't testing what they intended.
[libc++] [test_iterators] Make all ADL base() functions into hidden friends. NFCI.
This follows up on my addition of base(cpp20_input_iterator) in D115177, making all the ADL base() functions consistent.
Also, align cpp20_input_iterator with the other test iterators' style.
[libc++] [test] Use sized_sentinel<int*> in range.prim/ssize.pass.cpp.
Was forward_iterator not relevant for test coverage? I guess we were only relying on the fact that it was not a sized_range?