mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-04 02:24:29 +00:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user