Skip to content

Commit

Permalink
Remove outdated & incorrect part of comment.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
eliben committed Feb 3, 2014
1 parent 7db79d9 commit 83b8bc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/llvm/ADT/StringMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ class StringMapEntry : public StringMapEntryBase {
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>();
Expand Down

0 comments on commit 83b8bc7

Please sign in to comment.