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

llvm-svn: 75794
This commit is contained in:
Dan Gohman 2009-07-15 16:45:52 +00:00
parent 213e87b1fe
commit 2d6b047463
1 changed files with 2 additions and 1 deletions

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;