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

@ -70,7 +70,7 @@ public:
void dump(int indent=0) const;
// Debugging support
void print(llvm_ostream &os) const {
void print(OStream &os) const {
if (os.stream()) print(*os.stream());
}
virtual void print(std::ostream &os) const = 0;
@ -96,8 +96,8 @@ protected:
};
// ostream << operator for SchedGraphNode class
inline llvm_ostream &operator<<(llvm_ostream &os,
const SchedGraphNodeCommon &node) {
inline OStream &operator<<(OStream &os,
const SchedGraphNodeCommon &node) {
node.print(os);
return os;
}
@ -188,7 +188,7 @@ public:
public:
// Debugging support
void print(llvm_ostream &os) const {
void print(OStream &os) const {
if (os.stream()) print(*os.stream());
}
void print(std::ostream &os) const;
@ -200,7 +200,7 @@ private:
};
// ostream << operator for SchedGraphNode class
inline llvm_ostream &operator<<(llvm_ostream &os, const SchedGraphEdge &edge) {
inline OStream &operator<<(OStream &os, const SchedGraphEdge &edge) {
edge.print(os);
return os;
}