diff options
Diffstat (limited to 'include/llvm/ADT/PostOrderIterator.h')
-rw-r--r-- | include/llvm/ADT/PostOrderIterator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index eb556b5ec3..bf7ce9d0bb 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -18,8 +18,8 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/iterator.h" -#include <stack> #include <set> +#include <stack> #include <vector> namespace llvm { @@ -165,7 +165,8 @@ ipo_iterator<T> ipo_end(T G){ } //Provide global definitions of external inverse postorder iterators... -template <class T, class SetType = std::set<typename GraphTraits<T>::NodeType*> > +template <class T, + class SetType = std::set<typename GraphTraits<T>::NodeType*> > struct ipo_ext_iterator : public ipo_iterator<T, SetType, true> { ipo_ext_iterator(const ipo_iterator<T, SetType, true> &V) : ipo_iterator<T, SetType, true>(&V) {} |