Make raw_null_ostream flush its buffer in its destructor, so that
authorDan Gohman <gohman@apple.com>
Mon, 27 Jul 2009 21:46:02 +0000 (21:46 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 27 Jul 2009 21:46:02 +0000 (21:46 +0000)
commit4b66b47a7ccde60c32f8004dd7e68239f9d67e1f
treeb09561c5cb1f9f3b8f90d6795fad8191e74e17cf
parent9e3b01f697ecf6ba34bd95c31a01b1ad375f12c1
Make raw_null_ostream flush its buffer in its destructor, so that
it conforms to the assertion added in r77245. This fixes a failure
in qa_override.c in clang's testsuite.

llvm-svn: 77255
llvm/include/llvm/Support/raw_ostream.h
llvm/lib/Support/raw_ostream.cpp