remove duplicate code in llvm::StringMapImpl::RehashTable, near StringMap.cpp:229
if (!NewTableArray[NewBucket]) { NewTableArray[FullHash & (NewSize - 1)] = Bucket; NewHashArray[FullHash & (NewSize - 1)] = FullHash; if (I == BucketNo) NewBucketNo = NewBucket; continue; }
I think the comment is backwards now!
I suggest: