diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-08-27 06:41:46 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-08-27 06:41:46 +0000 |
commit | f0891be8bdbeeadb39da5575273b6645755fa383 (patch) | |
tree | 344541d698e7fdc4ee3f8a118d3590da66510e6d /include/llvm/CompilerDriver | |
parent | 199ba42cbf56b2fc9c708edb4f08f97dd99ddd49 (diff) |
Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver')
-rw-r--r-- | include/llvm/CompilerDriver/CompilationGraph.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CompilerDriver/CompilationGraph.h b/include/llvm/CompilerDriver/CompilationGraph.h index 825d4c40f8..2579b2630b 100644 --- a/include/llvm/CompilerDriver/CompilationGraph.h +++ b/include/llvm/CompilerDriver/CompilationGraph.h @@ -18,7 +18,6 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" -#include "llvm/ADT/iterator.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringSet.h" @@ -242,7 +241,7 @@ namespace llvmc { /// NodeChildIterator - Another auxiliary class needed by GraphTraits. - class NodeChildIterator : public bidirectional_iterator<Node, ptrdiff_t> { + class NodeChildIterator : public std::iterator<std::bidirectional_iterator_tag, Node, ptrdiff_t> { typedef NodeChildIterator ThisType; typedef Node::container_type::iterator iterator; |