[llvm] r215248 - Reword comment slightly.
Eric Christopher
echristo at gmail.com
Fri Aug 8 17:01:19 PDT 2014
Ah. Probably old style doxygen. I left it that way because of the rest
of the file. Could probably remove it from all of them.
-eric
On Fri, Aug 8, 2014 at 5:00 PM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> On 8 August 2014 19:59, Eric Christopher <echristo at gmail.com> wrote:
>> On Fri, Aug 8, 2014 at 3:48 PM, Rafael EspĂndola
>> <rafael.espindola at gmail.com> wrote:
>>>> - /// getNewMemBuffer - Allocate a new MemoryBuffer of the specified size that
>>>> - /// is completely initialized to zeros. Note that the caller need not
>>>> - /// initialize the memory allocated by this method. The memory is owned by
>>>> - /// the MemoryBuffer object.
>>>> + /// getNewMemBuffer - Allocate a new zero-initialized MemoryBuffer of the
>>>> + /// specified size. Note that the caller need not initializethe memory
>>>> + /// allocated by this method. The memory is owned by the MemoryBuffer object.
>>>> static MemoryBuffer *getNewMemBuffer(size_t Size, StringRef BufferName = "");
>>>
>>> While at it, why not avoid the name duplication? :-)
>>>
>>
>> Eh?
>
> Removing the "getNewMemBuffer -" in the comment.
>
> Cheers,
> Rafael
More information about the llvm-commits
mailing list