diff options
Diffstat (limited to 'include/llvm/Analysis/DataStructureGraph.h')
-rw-r--r-- | include/llvm/Analysis/DataStructureGraph.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DataStructureGraph.h b/include/llvm/Analysis/DataStructureGraph.h index 0a25622d45..4397f621c1 100644 --- a/include/llvm/Analysis/DataStructureGraph.h +++ b/include/llvm/Analysis/DataStructureGraph.h @@ -9,10 +9,11 @@ #ifndef LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H #define LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H -#include "Support/GraphTraits.h" #include "llvm/Analysis/DataStructure.h" +#include "Support/GraphTraits.h" +#include "Support/iterator" -class DSNodeIterator : public std::forward_iterator<DSNode, ptrdiff_t> { +class DSNodeIterator : public forward_iterator<DSNode, ptrdiff_t> { friend class DSNode; DSNode * const Node; unsigned Link; |