From 1cacae0f297b7330c4cd2b4f0a1f95ab2615bd65 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Tue, 17 Jul 2012 17:57:25 +0000 Subject: [PATCH] Fix broken ipo_ext_iterator constructors. These functions have obviously never been used before. They should be identical to the idf_ext_iterator counterparts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160381 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/PostOrderIterator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index c0e38292ecc..7f6350e4443 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -212,14 +212,14 @@ ipo_iterator ipo_end(T G){ return ipo_iterator::end(G); } -//Provide global definitions of external inverse postorder iterators... +// Provide global definitions of external inverse postorder iterators... template ::NodeType*> > struct ipo_ext_iterator : public ipo_iterator { ipo_ext_iterator(const ipo_iterator &V) : - ipo_iterator(&V) {} + ipo_iterator(V) {} ipo_ext_iterator(const po_iterator, SetType, true> &V) : - ipo_iterator(&V) {} + ipo_iterator(V) {} }; template -- 2.34.1