[llvm] r200697 - Remove outdated & incorrect part of comment.
Eli Bendersky
eliben at google.com
Mon Feb 3 06:33:52 PST 2014
Author: eliben
Date: Mon Feb 3 08:33:51 2014
New Revision: 200697
URL: http://llvm.org/viewvc/llvm-project?rev=200697&view=rev
Log:
Remove outdated & incorrect part of comment.
This comment was copied over from another class in r34170, where it made sense.
Modified:
llvm/trunk/include/llvm/ADT/StringMap.h
Modified: llvm/trunk/include/llvm/ADT/StringMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringMap.h?rev=200697&r1=200696&r2=200697&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringMap.h (original)
+++ llvm/trunk/include/llvm/ADT/StringMap.h Mon Feb 3 08:33:51 2014
@@ -136,10 +136,8 @@ public:
InitType InitVal) {
unsigned KeyLength = static_cast<unsigned>(KeyEnd-KeyStart);
- // Okay, the item doesn't already exist, and 'Bucket' is the bucket to fill
- // in. Allocate a new item with space for the string at the end and a null
+ // Allocate a new item with space for the string at the end and a null
// terminator.
-
unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
KeyLength+1;
unsigned Alignment = alignOf<StringMapEntry>();
More information about the llvm-commits
mailing list