aboutsummaryrefslogtreecommitdiff
path: root/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
commite81561909d128c6e2d8033cb5465a49b2596b26a (patch)
tree6f2845604d482bc86d8d12aae500292c561d8cd7 /lib/CodeGen/DwarfWriter.cpp
parent85c671b90870705ba7e10baf99aa306c843f1325 (diff)
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index ac6987b0f0..8f62396218 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/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