[PATCH] D17870: [ADT] Add an 'llvm::seq' function which produces an iterator range over a sequence of values. It increments through the values in the half-open range: [Begin, End), producing those values when indirecting the iterator. It should support integers...

Mailing List "llvm-commits" via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 14:49:57 PST 2016


llvm-commits added a comment.

Hi Chandler

Haven’t looked at the code yet, but I like the idea and the use of it you gave.

Seems like most integer cases are going to start at 0.  Could we have a seq(n) to handle [0, n) ranges?

Cheers,
Pete


http://reviews.llvm.org/D17870





More information about the llvm-commits mailing list