From: Reid Spencer Date: Wed, 8 Aug 2007 20:02:20 +0000 (+0000) Subject: Make it clear that getSTDIN returns null when stdin is empty. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eb9422b19d427edb8fec666823a4a0f7078c9c1b;p=oota-llvm.git Make it clear that getSTDIN returns null when stdin is empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40940 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/MemoryBuffer.h b/include/llvm/Support/MemoryBuffer.h index bc61c34eb0f..1e3a154ede6 100644 --- a/include/llvm/Support/MemoryBuffer.h +++ b/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();