commit | 5844b06a17eaecc1f460505539f4d4fa654b3752 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Wed Oct 05 16:54:09 2016 +0000 |
committer | Zachary Turner <zturner@google.com> | Wed Oct 05 16:54:09 2016 +0000 |
tree | 6f58e9436ed38792eaa0234f449b6d8915169e21 | |
parent | b53fb3cabe1c66c2819c5ba54588e80f0365a1a7 [diff] |
Add llvm::enumerate() range adapter. This allows you to enumerate over a range using a range-based for while the return type contains the index of the enumeration. Differential revision: https://reviews.llvm.org/D25124 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283337 91177308-0d34-0410-b5e6-96231b3b80d8