llvm.org GIT mirror llvm / 895fcbe
Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215266 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 5 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
106106 StringRef BufferName = "");
107107
108108 /// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
109 /// specified size. Note that the caller need not initializethe memory
109 /// specified size. Note that the caller need not initialize the memory
110110 /// allocated by this method. The memory is owned by the MemoryBuffer object.
111111 static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
112112
141141 }
142142
143143 /// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
144 /// specified size. Note that the caller need not initializethe memory
144 /// specified size. Note that the caller need not initialize the memory
145145 /// allocated by this method. The memory is owned by the MemoryBuffer object.
146146 MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) {
147147 MemoryBuffer *SB = getNewUninitMemBuffer(Size, BufferName);