This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Use `adl_begin`/`end` in `enumerate`
ClosedPublic

Authored by kuhar on Feb 28 2023, 8:11 PM.

Details

Summary

This allows enumerate to work with range types that expose custom
begin/end functions.

This is a cleanup in preparation for future changes in
https://reviews.llvm.org/D144503.

Diff Detail

Event Timeline

kuhar created this revision.Feb 28 2023, 8:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2023, 8:11 PM
Herald added a subscriber: hanchung. · View Herald Transcript
kuhar requested review of this revision.Feb 28 2023, 8:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2023, 8:11 PM
This revision is now accepted and ready to land.Mar 1 2023, 12:44 AM
This revision was automatically updated to reflect the committed changes.