Add a comment noting that raw_os_ostream does not check for errors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-07-15 16:45:52 +00:00
parent d3a974fc20
commit c232a7e8fe

View File

@ -308,7 +308,8 @@ raw_ostream &errs();
//===----------------------------------------------------------------------===//
/// raw_os_ostream - A raw_ostream that writes to an std::ostream. This is a
/// simple adaptor class.
/// simple adaptor class. It does check for I/O errors; clients should use
/// the underlying stream to detect errors.
class raw_os_ostream : public raw_ostream {
std::ostream &OS;