summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-16 01:32:46 +0000
committerDan Gohman <gohman@apple.com>2009-07-16 01:32:46 +0000
commit5a347d4bb72512b139734f708751274a8b2da09c (patch)
tree5285ec92258fad90ae8048f781e2effe9d5aaf98 /clang/lib/CodeGen/CodeGenModule.cpp
parentf267a15c8db766bb16ce60e74b9227407cb479af (diff)
downloadbcm5719-llvm-5a347d4bb72512b139734f708751274a8b2da09c.tar.gz
bcm5719-llvm-5a347d4bb72512b139734f708751274a8b2da09c.zip
formatted_raw_ostream both is-a raw_ostream and has-a raw_ostream. This
means that two separate raw_ostreams are doing buffering before data is sent to the underlying stream. Besides the inefficiency of redundant buffering, the second level of buffering doesn't recieve flush() requests. Fix this by having formatted_raw_ostream set the underlying raw_ostream to be unbuffered. This eliminates inefficiency due to redundant buffering, and it makes the flush() disconnect harmless. This fixes PR4559. llvm-svn: 75883
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud