Added ImmutableMap constructor that accepts a const TreeTy*.
[oota-llvm.git] / include / llvm / ADT / PostOrderIterator.h
index 76d99b4a2d6b44b984277fc9a17bda699f90a540..cc43d26d348ebbc12e4d0127c278dcb8d237f553 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
 #define LLVM_ADT_POSTORDERITERATOR_H
 
 #include "llvm/ADT/GraphTraits.h"
-#include "llvm/ADT/iterator"
+#include "llvm/ADT/iterator.h"
 #include <stack>
 #include <set>
+#include <vector>
 
 namespace llvm {
 
@@ -146,7 +147,7 @@ po_ext_iterator<T, SetType> po_ext_end(T G, SetType &S) {
 
 // Provide global definitions of inverse post order iterators...
 template <class T, 
-          class SetType = std::set<typename GraphTraits<T>::NoddeType*>,  
+          class SetType = std::set<typename GraphTraits<T>::NodeType*>,  
           bool External = false> 
 struct ipo_iterator : public po_iterator<Inverse<T>, SetType, External > { 
   ipo_iterator(const po_iterator<Inverse<T>, SetType, External> &V) :