Removed #include <iostream> and used llvm streams

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31984 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2006-11-28 22:47:12 +00:00
parent 6f81b51021
commit 3e3bcbf3a0

View File

@ -22,8 +22,8 @@
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/Streams.h"
#include <algorithm>
#include <iostream>
#include <list>
#include <utility>
@ -58,7 +58,7 @@ static Module *ParserResult;
//
//#define DEBUG_UPREFS 1
#ifdef DEBUG_UPREFS
#define UR_OUT(X) std::cerr << X
#define UR_OUT(X) llvm_cerr << X
#else
#define UR_OUT(X)
#endif
@ -2633,7 +2633,7 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef {
delete $2.type;
}
| NOT ResolvedVal {
std::cerr << "WARNING: Use of eliminated 'not' instruction:"
llvm_cerr << "WARNING: Use of eliminated 'not' instruction:"
<< " Replacing with 'xor'.\n";
Value *Ones = ConstantIntegral::getAllOnesValue($2.val->getType());