ΒΆtemplate <class T>
iterator_range<T> make_range(T x, T y)

Description

Convenience function for iterating over sub-ranges. This provides a bit of syntactic sugar to make using sub-ranges in for loops a bit easier. Analogous to std::make_pair().

Declared at: llvm/include/llvm/ADT/iterator_range.h:54

Templates

T

Parameters

T x
T y