diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-20 16:35:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-20 16:35:30 +0000 |
commit | 27f7aad50b93f02e81f7875dba09a5a1020431e6 (patch) | |
tree | 4686e257b73c8b4dcb4f7b181c1369c6dc9a0897 /include | |
parent | 8df0e010469db2db5c641a50d9cfa74a5ffe68ea (diff) | |
download | llvm-27f7aad50b93f02e81f7875dba09a5a1020431e6.tar.gz llvm-27f7aad50b93f02e81f7875dba09a5a1020431e6.tar.bz2 llvm-27f7aad50b93f02e81f7875dba09a5a1020431e6.tar.xz |
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index df7f16e55b..3f576df819 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -372,7 +372,8 @@ public: /// has_error - Return the value of the flag in this raw_fd_ostream indicating /// whether an output error has been encountered. - /// This doesn't implicitly flush any pending output. + /// This doesn't implicitly flush any pending output. Also, it doesn't + /// guarantee to detect all errors unless the the stream has been closed. bool has_error() const { return Error; } |