summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-07-10 21:14:44 +0000
committerDavid Greene <greened@obbligato.org>2009-07-10 21:14:44 +0000
commitc97b778b3c3ad138121946c1b0d8ead326f8bc8e (patch)
tree904614763ecb872b143c68be4b723bfa5adbab53 /llvm/lib/Support/raw_ostream.cpp
parent6c94771a0b7f3e8ea02d16a519d555e413fb79bf (diff)
downloadbcm5719-llvm-c97b778b3c3ad138121946c1b0d8ead326f8bc8e.tar.gz
bcm5719-llvm-c97b778b3c3ad138121946c1b0d8ead326f8bc8e.zip
Make changes suggested by Chris and eliminate newly-added raw_ostream
hooks as they're no longer needed. The major change with this patch is to make formatted_raw_ostream usable by any client of raw_ostream. llvm-svn: 75283
Diffstat (limited to 'llvm/lib/Support/raw_ostream.cpp')
-rw-r--r--llvm/lib/Support/raw_ostream.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index 403300f1bc4..42e6fda97ba 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/lib/Support/raw_ostream.cpp
@@ -120,7 +120,6 @@ raw_ostream &raw_ostream::operator<<(const void *P) {
void raw_ostream::flush_nonempty() {
assert(OutBufCur > OutBufStart && "Invalid call to flush_nonempty.");
- AboutToFlush();
write_impl(OutBufStart, OutBufCur - OutBufStart);
OutBufCur = OutBufStart;
}
OpenPOWER on IntegriCloud