summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/AliasSetTracker.h
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2009-08-27 06:41:46 +0000
committerGabor Greif <ggreif@gmail.com>2009-08-27 06:41:46 +0000
commitf0891be8bdbeeadb39da5575273b6645755fa383 (patch)
tree344541d698e7fdc4ee3f8a118d3590da66510e6d /include/llvm/Analysis/AliasSetTracker.h
parent199ba42cbf56b2fc9c708edb4f08f97dd99ddd49 (diff)
downloadllvm-f0891be8bdbeeadb39da5575273b6645755fa383.tar.gz
llvm-f0891be8bdbeeadb39da5575273b6645755fa383.tar.bz2
llvm-f0891be8bdbeeadb39da5575273b6645755fa383.tar.xz
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/Analysis/AliasSetTracker.h')
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h
index 82c6f392d0..793da6f6bc 100644
--- a/include/llvm/Analysis/AliasSetTracker.h
+++ b/include/llvm/Analysis/AliasSetTracker.h
@@ -20,7 +20,6 @@
#include "llvm/Support/CallSite.h"
#include "llvm/Support/ValueHandle.h"
#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/iterator.h"
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
#include <vector>
@@ -159,7 +158,7 @@ public:
void dump() const;
/// Define an iterator for alias sets... this is just a forward iterator.
- class iterator : public forward_iterator<PointerRec, ptrdiff_t> {
+ class iterator : public std::iterator<std::forward_iterator_tag, PointerRec, ptrdiff_t> {
PointerRec *CurNode;
public:
explicit iterator(PointerRec *CN = 0) : CurNode(CN) {}