Make it clear that getSTDIN returns null when stdin is empty.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 8 Aug 2007 20:02:20 +0000 (20:02 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 8 Aug 2007 20:02:20 +0000 (20:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40940 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/MemoryBuffer.h

index bc61c34eb0f8ba2abff264368cb55ad9f24bd0ef..1e3a154ede6713ddf5915fad149f33f9d223a911 100644 (file)
@@ -76,7 +76,7 @@ public:
                                              const char *BufferName = "");
   
   /// getSTDIN - Read all of stdin into a file buffer, and return it.  This
-  /// fails if stdin is empty.
+  /// returns null if stdin is empty.
   static MemoryBuffer *getSTDIN();