getNewMemBuffer memsets the buffer to zeros,
[oota-llvm.git] / lib / Support / MemoryBuffer.cpp
index 522c365f3d526a0d0bcfdf3c0dd7e6cdc4ba5d3d..75f25beda82337a6c070df78e4117459bb2d6f83 100644 (file)
@@ -142,7 +142,7 @@ MemoryBuffer *MemoryBuffer::getNewUninitMemBuffer(size_t Size,
 }
 
 /// getNewMemBuffer - Allocate a new MemoryBuffer of the specified size that
-/// is completely initialized to zeros.  Note that the caller should
+/// is completely initialized to zeros.  Note that the caller need not
 /// initialize the memory allocated by this method.  The memory is owned by
 /// the MemoryBuffer object.
 MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) {