[llvm-commits] [llvm] r111640 - /llvm/trunk/include/llvm/Support/raw_ostream.h

Dan Gohman gohman at apple.com
Fri Aug 20 09:35:30 PDT 2010


Author: djg
Date: Fri Aug 20 11:35:30 2010
New Revision: 111640

URL: http://llvm.org/viewvc/llvm-project?rev=111640&view=rev
Log:
Add a comment.

Modified:
    llvm/trunk/include/llvm/Support/raw_ostream.h

Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=111640&r1=111639&r2=111640&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Fri Aug 20 11:35:30 2010
@@ -372,7 +372,8 @@
 
   /// 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;
   }





More information about the llvm-commits mailing list