Fix typo.
authorEric Christopher <echristo@gmail.com>
Sat, 9 Aug 2014 00:26:27 +0000 (00:26 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 9 Aug 2014 00:26:27 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215266 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/MemoryBuffer.h
lib/Support/MemoryBuffer.cpp

index 253178ebb570ea7d133dccfb6f7b512b2d9dc47b..40e8d280e2ff26b0ac43a6fdc702524882172cac 100644 (file)
@@ -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 = "");
 
index 03d2d7d2b889572fe03c2b75d0ecc167b4568be8..9506da77704aa5cae39ab25b41a4abc03f094829 100644 (file)
@@ -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);