From: Eric Christopher Date: Sat, 9 Aug 2014 00:26:27 +0000 (+0000) Subject: Fix typo. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=895fcbe7a1c8b59fa83d18a4d62e28f434c97a19;p=oota-llvm.git Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215266 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/MemoryBuffer.h b/include/llvm/Support/MemoryBuffer.h index 253178ebb57..40e8d280e2f 100644 --- a/include/llvm/Support/MemoryBuffer.h +++ b/include/llvm/Support/MemoryBuffer.h @@ -107,7 +107,7 @@ public: StringRef BufferName = ""); /// 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. static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = ""); diff --git a/lib/Support/MemoryBuffer.cpp b/lib/Support/MemoryBuffer.cpp index 03d2d7d2b88..9506da77704 100644 --- a/lib/Support/MemoryBuffer.cpp +++ b/lib/Support/MemoryBuffer.cpp @@ -142,7 +142,7 @@ MemoryBuffer *MemoryBuffer::getNewUninitMemBuffer(size_t Size, } /// 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. MemoryBuffer *MemoryBuffer::getNewMemBuffer(size_t Size, StringRef BufferName) { MemoryBuffer *SB = getNewUninitMemBuffer(Size, BufferName);