diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-07-16 00:02:17 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-07-16 00:02:17 +0000 |
commit | 4d2da0d7a74f1648ef7d4946ae87ec3e6b3209cf (patch) | |
tree | d7d36ba469b512c6f8dccebf3f124c4dc7dbbdce | |
parent | 634cd1c4b4dbc8e2b7392109837054d19e7a3529 (diff) |
added std:: to cerr and endl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2914 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Constants.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index becaf2e44f..68a3c83aec 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -17,6 +17,9 @@ using std::map; using std::pair; using std::make_pair; +using std::vector; +using std::cerr; +using std::endl; ConstantBool *ConstantBool::True = new ConstantBool(true); ConstantBool *ConstantBool::False = new ConstantBool(false); @@ -408,8 +411,8 @@ ConstantExpr::get(unsigned opCode, Constant *C, const Type *Ty) { if (opCode != Instruction::Cast && (opCode < Instruction::FirstUnaryOp || opCode >= Instruction::NumUnaryOps)) { - cerr << "Invalid opcode " << ConstantExpr::getOpcodeName(opCode) - << " in unary constant expression" << endl; + std::cerr << "Invalid opcode " << ConstantExpr::getOpcodeName(opCode) + << " in unary constant expression" << std::endl; return NULL; // Not Cast or other unary opcode } // type of operand will not match result for Cast operation |