diff options
Diffstat (limited to 'include/Support/PostOrderIterator.h')
-rw-r--r-- | include/Support/PostOrderIterator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Support/PostOrderIterator.h b/include/Support/PostOrderIterator.h index 9309554f32..d66c4b84c4 100644 --- a/include/Support/PostOrderIterator.h +++ b/include/Support/PostOrderIterator.h @@ -21,6 +21,8 @@ #include <stack> #include <set> +namespace llvm { + template<class GraphT, class GT = GraphTraits<GraphT> > class po_iterator : public forward_iterator<typename GT::NodeType, ptrdiff_t> { typedef forward_iterator<typename GT::NodeType, ptrdiff_t> super; @@ -149,4 +151,6 @@ public: inline rpo_iterator end() { return Blocks.rend(); } }; +} // End llvm namespace + #endif |