This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Avoid dereferencing a const iterator in std::sort
ClosedPublic

Authored by ldionne on May 17 2023, 7:19 AM.

Details

Reviewers
EricWF
Group Reviewers
Restricted Project
Commits
rG35f9fd64350e: [libc++] Avoid dereferencing a const iterator in std::sort
Summary

This is a workaround to provide a grace period for folks that were
broken by D147089. As a fly-by, also apply comments by Mark I had
somehow missed in the review.

Diff Detail

Event Timeline

ldionne created this revision.May 17 2023, 7:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 7:19 AM
ldionne requested review of this revision.May 17 2023, 7:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2023, 7:19 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
EricWF accepted this revision.May 17 2023, 9:29 AM
This revision is now accepted and ready to land.May 17 2023, 9:29 AM