Revert r106117, which was the result of me misreading the C++98/03
authorDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 22:32:18 +0000 (22:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 22:32:18 +0000 (22:32 +0000)
specification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106162 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/IntervalIterator.h

index 637dea55c1988c5ce9e4fc9143641f059c3baee5..d842840b66b5d487c39e4c006a1ee691df524780 100644 (file)
@@ -88,7 +88,7 @@ inline void addNodeToInterval(Interval *Int, Interval *I) {
 template<class NodeTy, class OrigContainer_t, class GT = GraphTraits<NodeTy*>,
          class IGT = GraphTraits<Inverse<NodeTy*> > >
 class IntervalIterator {
-  std::stack<std::pair<Interval*, Interval::succ_iterator> > IntStack;
+  std::stack<std::pair<Interval*, typename Interval::succ_iterator> > IntStack;
   std::set<BasicBlock*> Visited;
   OrigContainer_t *OrigContainer;
   bool IOwnMem;     // If True, delete intervals when done with them