[llvm-commits] [llvm] r152090 - /llvm/trunk/include/llvm/ADT/UsuallyTinyPtrVector.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Mar 5 19:31:30 PST 2012


On Mar 5, 2012, at 7:06 PM, Argyrios Kyrtzidis wrote:

>> What's the difference between UsuallyTinyPtrVector and the existing
>> TinyPtrVector? Can they be unified somehow?
> 
> Hmm, with UsuallyTinyPtrVector you cannot copy it and you have to manually call Destroy on it ?
> I think we can just use TinyPtrVector; maybe UsuallyTinyPtrVector was introduced before TinyPtrVector, not sure.

I think TinyPtrVector was inspired by UsuallyTinyPtrVector, but for some reason the old class was never replaced.

Thanks for fixing it!

/jakob





More information about the llvm-commits mailing list