From 83b8bc7fce4356e61d2de87ebf569cc49f149c1c Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 3 Feb 2014 14:33:51 +0000 Subject: 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 --- include/llvm/ADT/StringMap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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(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(sizeof(StringMapEntry))+ KeyLength+1; unsigned Alignment = alignOf(); -- cgit v1.2.3