[llvm-commits] [llvm] r40940 - /llvm/trunk/include/llvm/Support/MemoryBuffer.h
Reid Spencer
rspencer at reidspencer.com
Wed Aug 8 13:02:20 PDT 2007
Author: reid
Date: Wed Aug 8 15:02:20 2007
New Revision: 40940
URL: http://llvm.org/viewvc/llvm-project?rev=40940&view=rev
Log:
Make it clear that getSTDIN returns null when stdin is empty.
Modified:
llvm/trunk/include/llvm/Support/MemoryBuffer.h
Modified: llvm/trunk/include/llvm/Support/MemoryBuffer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MemoryBuffer.h?rev=40940&r1=40939&r2=40940&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MemoryBuffer.h (original)
+++ llvm/trunk/include/llvm/Support/MemoryBuffer.h Wed Aug 8 15:02:20 2007
@@ -76,7 +76,7 @@
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();
More information about the llvm-commits
mailing list