diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-15 16:45:52 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-15 16:45:52 +0000 |
commit | 2d6b047463f0ea354db1a63d3254667bfe6e85fe (patch) | |
tree | c53b68e28c9daafd55ca1a6858d50755cc835a9d | |
parent | 213e87b1fe15b35fc8d1885ecedfa1b83c5cb153 (diff) | |
download | bcm5719-llvm-2d6b047463f0ea354db1a63d3254667bfe6e85fe.tar.gz bcm5719-llvm-2d6b047463f0ea354db1a63d3254667bfe6e85fe.zip |
Add a comment noting that raw_os_ostream does not check for errors.
llvm-svn: 75794
-rw-r--r-- | llvm/include/llvm/Support/raw_ostream.h | 3 |
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; |