Make some methods const. The only interesting change here is that
authorChris Lattner <sabre@nondot.org>
Sat, 19 Dec 2009 01:38:42 +0000 (01:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Dec 2009 01:38:42 +0000 (01:38 +0000)
commitcd0129f5a6f0485ecac525c17a3c5dff0a19ca5f
treea6a6cd779ab13506bae631aac939fad91d058972
parentc63ca0a71b299ee0b8fc7dc8405d7f3c856ecfa3
Make some methods const.  The only interesting change here is that
it changes raw_fd_ostream::preferred_buffer_size to return zero on
a scary stat failure instead of setting the stream to an error state.
This method really should not mutate the stream.

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