projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a974f
)
Add a comment noting that raw_os_ostream does not check for errors.
author
Dan Gohman
<gohman@apple.com>
Wed, 15 Jul 2009 16:45:52 +0000
(16:45 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 15 Jul 2009 16:45:52 +0000
(16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75794
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/raw_ostream.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/raw_ostream.h
b/include/llvm/Support/raw_ostream.h
index 8242f04e23ce4670fa2e3d8005b3c8c284adeff5..261a9225c43e1eb83f98871ca5deb2219d4960e2 100644
(file)
--- 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;