LLVM API Documentation

Classes | Namespaces | Functions
iterator_range.h File Reference
#include <utility>
Include dependency graph for iterator_range.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::iterator_range< IteratorT >
 A range adaptor for a pair of iterators. More...

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

template<class T >
iterator_range< Tllvm::make_range (T x, T y)
 Convenience function for iterating over sub-ranges.

Detailed Description

This provides a very simple, boring adaptor for a begin and end iterator into a range type. This should be used to build range views that work well with range based for loops and range based constructors.

Note that code here follows more standards-based coding conventions as it is mirroring proposed interfaces for standardization.

Definition in file iterator_range.h.