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.
Paths
| Differential D145026
[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 This is a cleanup in preparation for future changes in
Diff Detail
Event Timelinekuhar added a child revision: D144503: [ADT] Allow `llvm::enumerate` to enumerate over multiple ranges.Feb 28 2023, 8:14 PM This revision is now accepted and ready to land.Mar 1 2023, 12:44 AM Closed by commit rG1527a1bf7086: [ADT] Use `adl_begin`/`end` in `enumerate` (authored by kuhar). · Explain WhyMar 1 2023, 8:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501521 llvm/include/llvm/ADT/STLExtras.h
llvm/unittests/ADT/STLExtrasTest.cpp
|