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
This commit is contained in:
Bill Wendling
2006-12-07 01:30:32 +00:00
parent 85c671b908
commit e81561909d
112 changed files with 1853 additions and 1688 deletions

View File

@@ -285,7 +285,7 @@ public:
IsDead = false;
}
friend llvm_ostream& operator<<(llvm_ostream& os, const MachineOperand& mop) {
friend OStream& operator<<(OStream& os, const MachineOperand& mop) {
if (os.stream()) *os.stream() << mop;
return os;
}
@@ -397,12 +397,12 @@ public:
//
// Debugging support
//
void print(llvm_ostream &OS, const TargetMachine *TM) const {
void print(OStream &OS, const TargetMachine *TM) const {
if (OS.stream()) print(*OS.stream(), TM);
}
void print(std::ostream &OS, const TargetMachine *TM) const;
void dump() const;
friend llvm_ostream& operator<<(llvm_ostream& os, const MachineInstr& minstr){
friend OStream& operator<<(OStream& os, const MachineInstr& minstr){
if (os.stream()) *os.stream() << minstr;
return os;
}