[PATCH] D144503: [WIP][STLExtras] Allow `llvm::enumerate` to enumerate over multiple ranges

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 4 15:34:40 PST 2023


kuhar updated this revision to Diff 502393.
kuhar added a comment.

Implement `enumerate` in terms of zippy with a custom zip iterator.

Fix issues with constness.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144503/new/

https://reviews.llvm.org/D144503

Files:
  llvm/include/llvm/ADT/STLExtras.h
  llvm/unittests/ADT/STLExtrasTest.cpp
  llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144503.502393.patch
Type: text/x-patch
Size: 22991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230304/87576e71/attachment.bin>


More information about the llvm-commits mailing list