[llvm] r215266 - Fix typo.

Eric Christopher echristo at gmail.com
Fri Aug 8 17:26:27 PDT 2014


Author: echristo
Date: Fri Aug  8 19:26:27 2014
New Revision: 215266

URL: http://llvm.org/viewvc/llvm-project?rev=215266&view=rev
Log:
Fix typo.

Modified:
    llvm/trunk/include/llvm/Support/MemoryBuffer.h
    llvm/trunk/lib/Support/MemoryBuffer.cpp

Modified: llvm/trunk/include/llvm/Support/MemoryBuffer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MemoryBuffer.h?rev=215266&r1=215265&r2=215266&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MemoryBuffer.h (original)
+++ llvm/trunk/include/llvm/Support/MemoryBuffer.h Fri Aug  8 19:26:27 2014
@@ -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 = "");
 

Modified: llvm/trunk/lib/Support/MemoryBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/MemoryBuffer.cpp?rev=215266&r1=215265&r2=215266&view=diff
==============================================================================
--- llvm/trunk/lib/Support/MemoryBuffer.cpp (original)
+++ llvm/trunk/lib/Support/MemoryBuffer.cpp Fri Aug  8 19:26:27 2014
@@ -142,7 +142,7 @@ MemoryBuffer *MemoryBuffer::getNewUninit
 }
 
 /// 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);





More information about the llvm-commits mailing list