mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 17:20:28 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5885cab3e
commit
895fcbe7a1
@ -107,7 +107,7 @@ public:
|
|||||||
StringRef BufferName = "");
|
StringRef BufferName = "");
|
||||||
|
|
||||||
/// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
|
/// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
|
||||||
/// specified size. Note that the caller need not initializethe memory
|
/// specified size. Note that the caller need not initialize the memory
|
||||||
/// allocated by this method. The memory is owned by the MemoryBuffer object.
|
/// allocated by this method. The memory is owned by the MemoryBuffer object.
|
||||||
static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
|
static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ MemoryBuffer *MemoryBuffer::getNewUninitMemBuffer(size_t Size,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
|
/// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
|
||||||
/// specified size. Note that the caller need not initializethe memory
|
/// specified size. Note that the caller need not initialize the memory
|
||||||
/// allocated by this method. The memory is owned by the MemoryBuffer object.
|
/// allocated by this method. The memory is owned by the MemoryBuffer object.
|
||||||
MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) {
|
MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) {
|
||||||
MemoryBuffer *SB = getNewUninitMemBuffer(Size, BufferName);
|
MemoryBuffer *SB = getNewUninitMemBuffer(Size, BufferName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user