summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/raw_ostream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
index 8242f04e23c..261a9225c43 100644
--- a/llvm/include/llvm/Support/raw_ostream.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud