From 02a31a5af68aaca1b54c7121f04cb56828ccefc2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Jul 2003 17:49:28 +0000 Subject: [PATCH] Fix another accessibility problem illuminated by GCC 3.3 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7314 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/DepthFirstIterator.h | 2 +- include/llvm/ADT/DepthFirstIterator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h index b4a1b2969f5..2bb2e68e670 100644 --- a/include/Support/DepthFirstIterator.h +++ b/include/Support/DepthFirstIterator.h @@ -17,7 +17,6 @@ template > class df_iterator : public forward_iterator { typedef forward_iterator super; - typedef typename super::pointer pointer; typedef typename GT::NodeType NodeType; typedef typename GT::ChildIteratorType ChildItTy; @@ -51,6 +50,7 @@ private: inline df_iterator() { /* End is when stack is empty */ } public: + typedef typename super::pointer pointer; typedef df_iterator _Self; // Provide static begin and end methods as our public "constructors" diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index b4a1b2969f5..2bb2e68e670 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/DepthFirstIterator.h @@ -17,7 +17,6 @@ template > class df_iterator : public forward_iterator { typedef forward_iterator super; - typedef typename super::pointer pointer; typedef typename GT::NodeType NodeType; typedef typename GT::ChildIteratorType ChildItTy; @@ -51,6 +50,7 @@ private: inline df_iterator() { /* End is when stack is empty */ } public: + typedef typename super::pointer pointer; typedef df_iterator _Self; // Provide static begin and end methods as our public "constructors" -- 2.34.1