X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FAnalysis%2FConstantsScanner.h;h=cdaf68d75a6399fac3c35648f3ce8ae79b1cceea;hb=739742650981491be0e58ed876feaeb8901f9443;hp=9ea9ed6ce66cca1d0d19b205c88accfe17ef432c;hpb=a99be51bf5cdac1438069d4b01766c47704961c8;p=oota-llvm.git diff --git a/include/llvm/Analysis/ConstantsScanner.h b/include/llvm/Analysis/ConstantsScanner.h index 9ea9ed6ce66..cdaf68d75a6 100644 --- a/include/llvm/Analysis/ConstantsScanner.h +++ b/include/llvm/Analysis/ConstantsScanner.h @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by the LLVM research group and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -17,14 +17,13 @@ #define LLVM_ANALYSIS_CONSTANTSSCANNER_H #include "llvm/Support/InstIterator.h" -#include "llvm/Instruction.h" -#include "llvm/ADT/iterator" namespace llvm { class Constant; -class constant_iterator : public forward_iterator { +class constant_iterator : public std::iterator { const_inst_iterator InstI; // Method instruction iterator unsigned OpIdx; // Operand index