Fix a bug in raw_ostream::write(char) introduced by the change to
allow underlying stream classes to decline buffering. After
calling SetBuffered(), re-check whether the stream is Unbuffered
in order to handle the case where the underlying stream has
declined buffering.

llvm-svn: 79362
1 file changed
tree: 11d4ca4b066f099350fb8ade71de2882d98b0e49
  1. clang/
  2. compiler-rt/
  3. llvm/