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/Use.h | |
parent | 199ba42cbf56b2fc9c708edb4f08f97dd99ddd49 (diff) | |
download | external_llvm-f0891be8bdbeeadb39da5575273b6645755fa383.zip external_llvm-f0891be8bdbeeadb39da5575273b6645755fa383.tar.gz external_llvm-f0891be8bdbeeadb39da5575273b6645755fa383.tar.bz2 |
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/Use.h')
-rw-r--r-- | include/llvm/Use.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h index 489dbc5..00b9c43 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -26,8 +26,8 @@ #define LLVM_USE_H #include "llvm/Support/Casting.h" -#include "llvm/ADT/iterator.h" #include "llvm/ADT/PointerIntPair.h" +#include <iterator> namespace llvm { @@ -158,8 +158,8 @@ template<> struct simplify_type<const Use> { template<typename UserTy> // UserTy == 'User' or 'const User' -class value_use_iterator : public forward_iterator<UserTy*, ptrdiff_t> { - typedef forward_iterator<UserTy*, ptrdiff_t> super; +class value_use_iterator : public std::iterator<std::forward_iterator_tag, UserTy*, ptrdiff_t> { + typedef std::iterator<std::forward_iterator_tag, UserTy*, ptrdiff_t> super; typedef value_use_iterator<UserTy> _Self; Use *U; |