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();