From 8574ac95f0927d436afe6a7bff54fa45948561f0 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 8 Aug 2007 20:02:20 +0000 Subject: [PATCH] Make it clear that getSTDIN returns null when stdin is empty. llvm-svn: 40940 --- llvm/include/llvm/Support/MemoryBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/MemoryBuffer.h b/llvm/include/llvm/Support/MemoryBuffer.h index bc61c34eb0f8..1e3a154ede67 100644 --- a/llvm/include/llvm/Support/MemoryBuffer.h +++ b/llvm/include/llvm/Support/MemoryBuffer.h @@ -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();