From: Dan Gohman Date: Wed, 15 Jul 2009 16:45:52 +0000 (+0000) Subject: Add a comment noting that raw_os_ostream does not check for errors. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c232a7e8feb28450f3f542ef5025197ff50ff9fc;p=oota-llvm.git 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 --- diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 8242f04e23c..261a9225c43 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -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;