summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/MemoryBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/MemoryBuffer.h b/llvm/include/llvm/Support/MemoryBuffer.h
index bc61c34eb0f..1e3a154ede6 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();
OpenPOWER on IntegriCloud