This is an archive of the discontinued LLVM Phabricator instance.

[libcxx][ranges] makes `ranges::subrange` a borrowed range
ClosedPublic

Authored by cjdb on Jul 16 2021, 6:36 PM.

Details

Diff Detail

Event Timeline

cjdb requested review of this revision.Jul 16 2021, 6:36 PM
cjdb created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2021, 6:36 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
cjdb updated this revision to Diff 359512.Jul 16 2021, 6:42 PM

uglifies names

zoecarver accepted this revision as: zoecarver.Jul 16 2021, 6:42 PM

Looks good to me. This seems like a pretty much obviously correct patch, so I wouldn't be opposed to just landing it.

cjdb updated this revision to Diff 359518.Jul 16 2021, 7:23 PM

fixes test

This revision was not accepted when it landed; it landed in state Needs Review.Jul 17 2021, 10:26 AM
This revision was automatically updated to reflect the committed changes.

Thanks for fixing this! Can you update the comment in the test?

libcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp
13

This comment is wrong.