diff --git a/include/llvm/Analysis/BlockFrequencyInfoImpl.h b/include/llvm/Analysis/BlockFrequencyInfoImpl.h index b3c83a4831d..a2c343c3d3d 100644 --- a/include/llvm/Analysis/BlockFrequencyInfoImpl.h +++ b/include/llvm/Analysis/BlockFrequencyInfoImpl.h @@ -1291,7 +1291,7 @@ struct IrreducibleGraph { std::deque Edges; IrrNode(const BlockNode &Node) : Node(Node), NumIn(0) {} - typedef typename std::deque::const_iterator iterator; + typedef std::deque::const_iterator iterator; iterator pred_begin() const { return Edges.begin(); } iterator succ_begin() const { return Edges.begin() + NumIn; } iterator pred_end() const { return succ_begin(); }