diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-06-24 23:06:47 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-06-24 23:06:47 +0000 |
commit | 799bb6e178e2a808186bbcbd6f75fe660f6b92db (patch) | |
tree | a3cd5f03f12ef80cf1a621ddd390c1804d29578c /clang/lib/Analysis/RangeConstraintManager.cpp | |
parent | dbc98ae4c24441316e8e29bc02aa3449f3eeb4f9 (diff) | |
download | bcm5719-llvm-799bb6e178e2a808186bbcbd6f75fe660f6b92db.tar.gz bcm5719-llvm-799bb6e178e2a808186bbcbd6f75fe660f6b92db.zip |
Remove uses of std::ostream from libAnalysis.
llvm-svn: 74136
Diffstat (limited to 'clang/lib/Analysis/RangeConstraintManager.cpp')
-rw-r--r-- | clang/lib/Analysis/RangeConstraintManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Analysis/RangeConstraintManager.cpp b/clang/lib/Analysis/RangeConstraintManager.cpp index 73c68bcaea0..079462e8d19 100644 --- a/clang/lib/Analysis/RangeConstraintManager.cpp +++ b/clang/lib/Analysis/RangeConstraintManager.cpp @@ -200,7 +200,7 @@ public: return newRanges; } - void Print(std::ostream &os) const { + void print(llvm::raw_ostream &os) const { bool isFirst = true; os << "{ "; for (iterator i = begin(), e = end(); i != e; ++i) { @@ -265,7 +265,7 @@ public: const GRState* RemoveDeadBindings(const GRState* St, SymbolReaper& SymReaper); - void print(const GRState* St, std::ostream& Out, + void print(const GRState* St, llvm::raw_ostream& Out, const char* nl, const char *sep); private: @@ -341,7 +341,7 @@ AssumeX(GE) // Pretty-printing. //===------------------------------------------------------------------------===/ -void RangeConstraintManager::print(const GRState* St, std::ostream& Out, +void RangeConstraintManager::print(const GRState* St, llvm::raw_ostream& Out, const char* nl, const char *sep) { ConstraintRangeTy Ranges = St->get<ConstraintRange>(); @@ -353,6 +353,6 @@ void RangeConstraintManager::print(const GRState* St, std::ostream& Out, for (ConstraintRangeTy::iterator I=Ranges.begin(), E=Ranges.end(); I!=E; ++I){ Out << nl << ' ' << I.getKey() << " : "; - I.getData().Print(Out); + I.getData().print(Out); } } |