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();