aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/raw_ostream.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-03-27 16:34:32 +0000
committerDan Gohman <gohman@apple.com>2010-03-27 16:34:32 +0000
commit60a6e1f461392a94366567468129d54b7378e93e (patch)
tree98b22f59e1bf0faec42ab4d747a9e1bd37d3af45 /include/llvm/Support/raw_ostream.h
parentf65f294c993371a1db782ed63e86af2fe7bcc60a (diff)
downloadexternal_llvm-60a6e1f461392a94366567468129d54b7378e93e.tar.gz
external_llvm-60a6e1f461392a94366567468129d54b7378e93e.tar.bz2
external_llvm-60a6e1f461392a94366567468129d54b7378e93e.zip
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-rw-r--r--include/llvm/Support/raw_ostream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 0f227ccc3f..e0de80f1d4 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -89,6 +89,7 @@ public:
/// has_error - Return the value of the flag in this raw_ostream indicating
/// whether an output error has been encountered.
+ /// This doesn't implicitly flush any pending output.
bool has_error() const {
return Error;
}