[llvm-commits] [llvm] r92340 - in /llvm/trunk: lib/Support/StringRef.cpp unittests/ADT/StringRefTest.cpp

Douglas Gregor dgregor at apple.com
Wed Jan 6 16:52:22 PST 2010


On Jan 2, 2010, at 10:50 PM, John McCall wrote:

>
> On Dec 30, 2009, at 8:24 PM, Douglas Gregor wrote:
>
>> Author: dgregor
>> Date: Wed Dec 30 22:24:34 2009
>> New Revision: 92340
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=92340&view=rev
>> Log:
>> Document the edit-distance algorithm used in StringRef, switch it  
>> over
>> to SmallVector, and add a unit test.
>
> Swapping llvm::SmallVectors is significantly less trivial than  
> swapping std::vectors.  Pointers would suffice, though.

Yep, thanks. Fixed here:

	http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100104/093770.html

	- Doug




More information about the llvm-commits mailing list