aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorReid Spencer <reid@x10sys.com>2007-08-08 20:02:20 +0000
committerReid Spencer <reid@x10sys.com>2007-08-08 20:02:20 +0000
commit601095946e50634833d2c601d21d788ea1665273 (patch)
treec099abf4a265461b34c4de63a184963b5ecb0cd8 /include/llvm/Support
parentdd3a79328c4cf02ad3668815c61545e54fb77a76 (diff)
downloadexternal_llvm-601095946e50634833d2c601d21d788ea1665273.zip
external_llvm-601095946e50634833d2c601d21d788ea1665273.tar.gz
external_llvm-601095946e50634833d2c601d21d788ea1665273.tar.bz2
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
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/MemoryBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/MemoryBuffer.h b/include/llvm/Support/MemoryBuffer.h
index bc61c34..1e3a154 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();