Make outs() close its file when its stream is destructed, so that
authorDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 16:44:56 +0000 (16:44 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 16:44:56 +0000 (16:44 +0000)
commit5d56d9df928c48571980efe8d4205de8ab557b7c
tree01120e220a61b54d440b3c1ff4a06784cb95cf0f
parenta1f89deb56eddf6a7738660063cbe7db9775b01c
Make outs() close its file when its stream is destructed, so that
pending output errors are detected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111643 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp