aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/raw_ostream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 8242f04e23..261a9225c4 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;