aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/ConstantsScanner.h
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2009-08-27 06:59:20 +0000
committerGabor Greif <ggreif@gmail.com>2009-08-27 06:59:20 +0000
commit1e1de493949eac34bfd00d44c77364f3fbac9534 (patch)
tree5ae8c3d625a6d08be1000d12cad8eeb35ed2845a /include/llvm/Analysis/ConstantsScanner.h
parentf0891be8bdbeeadb39da5575273b6645755fa383 (diff)
downloadexternal_llvm-1e1de493949eac34bfd00d44c77364f3fbac9534.zip
external_llvm-1e1de493949eac34bfd00d44c77364f3fbac9534.tar.gz
external_llvm-1e1de493949eac34bfd00d44c77364f3fbac9534.tar.bz2
the buildbots revealed one more breakage. fix. (why didn't I see this?)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ConstantsScanner.h')
-rw-r--r--include/llvm/Analysis/ConstantsScanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ConstantsScanner.h b/include/llvm/Analysis/ConstantsScanner.h
index 796a942..6fc110a 100644
--- a/include/llvm/Analysis/ConstantsScanner.h
+++ b/include/llvm/Analysis/ConstantsScanner.h
@@ -22,7 +22,7 @@ namespace llvm {
class Constant;
-class constant_iterator : public forward_iterator<const Constant, ptrdiff_t> {
+class constant_iterator : public std::iterator<std::forward_iterator_tag, const Constant, ptrdiff_t> {
const_inst_iterator InstI; // Method instruction iterator
unsigned OpIdx; // Operand index