aboutsummaryrefslogtreecommitdiff
path: root/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
commit62fe47a33755719ab9c6e8c239e0dd01fc87e6f9 (patch)
tree3d0c98ada5d7952dc0723c6710bf0eeb54db2ef9 /lib/Support/raw_ostream.cpp
parenta93e77073faf8547f8405919339f44cebdc74d11 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r--lib/Support/raw_ostream.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
index 403300f1bc..42e6fda97b 100644
--- a/lib/Support/raw_ostream.cpp
+++ b/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;
}