aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
commitf3baad3ee14689641493a578f3a1561cb15ac517 (patch)
tree9259790ab0eabbd126ea6426cd08226883090062 /llvm/lib/CodeGen/DwarfWriter.cpp
parentd8e7451dc3414cfc43a7622e5f0051a5ac5e94a2 (diff)
downloadllvm-f3baad3ee14689641493a578f3a1561cb15ac517.zip
llvm-f3baad3ee14689641493a578f3a1561cb15ac517.tar.gz
llvm-f3baad3ee14689641493a578f3a1561cb15ac517.tar.bz2
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. llvm-svn: 32298
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index ac6987b..8f62396 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -31,10 +31,8 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h"
-
#include <ostream>
#include <string>
-
using namespace llvm;
using namespace llvm::dwarf;
@@ -139,7 +137,7 @@ public:
}
#ifndef NDEBUG
- void print(llvm_ostream &O) const {
+ void print(OStream &O) const {
if (O.stream()) print(*O.stream());
}
void print(std::ostream &O) const {
@@ -247,7 +245,7 @@ public:
void Emit(const Dwarf &DW) const;
#ifndef NDEBUG
- void print(llvm_ostream &O) {
+ void print(OStream &O) {
if (O.stream()) print(*O.stream());
}
void print(std::ostream &O);
@@ -337,7 +335,7 @@ public:
void Profile(FoldingSetNodeID &ID) ;
#ifndef NDEBUG
- void print(llvm_ostream &O, unsigned IncIndent = 0) {
+ void print(OStream &O, unsigned IncIndent = 0) {
if (O.stream()) print(*O.stream(), IncIndent);
}
void print(std::ostream &O, unsigned IncIndent = 0);
@@ -388,7 +386,7 @@ public:
virtual void Profile(FoldingSetNodeID &ID) = 0;
#ifndef NDEBUG
- void print(llvm_ostream &O) {
+ void print(OStream &O) {
if (O.stream()) print(*O.stream());
}
virtual void print(std::ostream &O) = 0;
@@ -2861,14 +2859,14 @@ void DIEAbbrev::print(std::ostream &O) {
<< "\n";
}
}
-void DIEAbbrev::dump() { print(llvm_cerr); }
+void DIEAbbrev::dump() { print(cerr); }
#endif
//===----------------------------------------------------------------------===//
#ifndef NDEBUG
void DIEValue::dump() {
- print(llvm_cerr);
+ print(cerr);
}
#endif
@@ -3079,7 +3077,7 @@ void DIE::print(std::ostream &O, unsigned IncIndent) {
}
void DIE::dump() {
- print(llvm_cerr);
+ print(cerr);
}
#endif