From 309e77fbe29c4f8dfa7772d10be5ea7ec98823d5 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 3 Feb 2014 14:33:51 +0000 Subject: [PATCH] Remove outdated & incorrect part of comment. This comment was copied over from another class in r34170, where it made sense. llvm-svn: 200697 --- llvm/include/llvm/ADT/StringMap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/include/llvm/ADT/StringMap.h b/llvm/include/llvm/ADT/StringMap.h index 4a32b6019590..c48f1ead0236 100644 --- a/llvm/include/llvm/ADT/StringMap.h +++ b/llvm/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();