aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SchedGraphCommon.h
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 /include/llvm/CodeGen/SchedGraphCommon.h
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 'include/llvm/CodeGen/SchedGraphCommon.h')
-rw-r--r--include/llvm/CodeGen/SchedGraphCommon.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/SchedGraphCommon.h b/include/llvm/CodeGen/SchedGraphCommon.h
index b4cee969e1..7da2f732ba 100644
--- a/include/llvm/CodeGen/SchedGraphCommon.h
+++ b/include/llvm/CodeGen/SchedGraphCommon.h
@@ -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;
}