diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:47:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:47:12 +0000 |
commit | 3e3bcbf3a056a2f3a681326c491e84a089a063ab (patch) | |
tree | 9f866d6531534db20faa6435fbbae5c5897522fe | |
parent | 6f81b510217bd87f265cca054c5d9885250d8525 (diff) | |
download | external_llvm-3e3bcbf3a056a2f3a681326c491e84a089a063ab.zip external_llvm-3e3bcbf3a056a2f3a681326c491e84a089a063ab.tar.gz external_llvm-3e3bcbf3a056a2f3a681326c491e84a089a063ab.tar.bz2 |
Removed #include <iostream> and used llvm streams
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31984 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 52768ff..a6f6c2e 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -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()); |