summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-02-03 14:33:51 +0000
committerEli Bendersky <eliben@google.com>2014-02-03 14:33:51 +0000
commit83b8bc7fce4356e61d2de87ebf569cc49f149c1c (patch)
treebf352bcd27537eaf008adea6d4a97dbafe6d0cc2 /include
parent7db79d9c13f1d643703e267f9886102bdbf6c9cf (diff)
downloadllvm-83b8bc7fce4356e61d2de87ebf569cc49f149c1c.tar.gz
llvm-83b8bc7fce4356e61d2de87ebf569cc49f149c1c.tar.bz2
llvm-83b8bc7fce4356e61d2de87ebf569cc49f149c1c.tar.xz
Remove outdated & incorrect part of comment.
This comment was copied over from another class in r34170, where it made sense. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/StringMap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h
index 4a32b60195..c48f1ead02 100644
--- a/include/llvm/ADT/StringMap.h
+++ b/include/llvm/ADT/StringMap.h
@@ -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>();