Make formatted_raw_ostream restore the buffer settings of the
authorDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 23:16:59 +0000 (23:16 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 23:16:59 +0000 (23:16 +0000)
commit6c304f2314e5fb00488ac6bdfdac180c0ffd3d09
treed6f6c33489a410db659ede1f8b0b230eb691b5d5
parent009fc9e5d9058a1d3b64bf5cacb29d4f0c952ca5
Make formatted_raw_ostream restore the buffer settings of the
underlying stream when it is finished, so that clients don't
have to do this manually.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78952 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FormattedStream.h
lib/VMCore/AsmWriter.cpp