summaryrefslogtreecommitdiffstats
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
commiteff5583908cbc3ef594db1860df3e87fee4e7727 (patch)
tree4634753ff2e1652606e99b7b9b5c84a036f04628
parentdcc8cd96f2b3ded3e347ad3e27e8b01181441f69 (diff)
downloadbcm5719-llvm-eff5583908cbc3ef594db1860df3e87fee4e7727.tar.gz
bcm5719-llvm-eff5583908cbc3ef594db1860df3e87fee4e7727.zip
Add a comment.
llvm-svn: 99715
-rw-r--r--llvm/include/llvm/Support/raw_ostream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
index 0f227ccc3f8..e0de80f1d43 100644
--- a/llvm/include/llvm/Support/raw_ostream.h
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud