Index: include/llvm/ADT/iterator_range.h =================================================================== --- include/llvm/ADT/iterator_range.h +++ include/llvm/ADT/iterator_range.h @@ -33,6 +33,9 @@ IteratorT begin_iterator, end_iterator; public: + typedef IteratorT iterator; + typedef const IteratorT const_iterator; + //TODO: Add SFINAE to test that the Container's iterators match the range's // iterators. template