[llvm-commits] CVS: llvm/include/Support/PostOrderIterator.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 25 12:47:00 PDT 2003
Changes in directory llvm/include/Support:
PostOrderIterator.h updated: 1.9 -> 1.10
---
Log message:
Fix visibility problem exposed by GCC 3.3
---
Diffs of the changes:
Index: llvm/include/Support/PostOrderIterator.h
diff -u llvm/include/Support/PostOrderIterator.h:1.9 llvm/include/Support/PostOrderIterator.h:1.10
--- llvm/include/Support/PostOrderIterator.h:1.9 Mon Jun 16 19:35:55 2003
+++ llvm/include/Support/PostOrderIterator.h Fri Jul 25 12:46:25 2003
@@ -17,7 +17,6 @@
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;
- typedef typename super::pointer pointer;
typedef typename GT::NodeType NodeType;
typedef typename GT::ChildIteratorType ChildItTy;
@@ -43,6 +42,7 @@
}
inline po_iterator() { /* End is when stack is empty */ }
public:
+ typedef typename super::pointer pointer;
typedef po_iterator<GraphT, GT> _Self;
// Provide static "constructors"...
More information about the llvm-commits
mailing list