Add llvm::enumerate() to STLExtras.
enumerate allows you to iterate over a range by pairing the iterator's value with its index in the enumeration. This gives you most of the benefits of using a for loop while still allowing the range syntax. llvm-svn: 282804
Loading
Please register or sign in to comment