[llvm-commits] [llvm] r92340 - in /llvm/trunk: lib/Support/StringRef.cpp unittests/ADT/StringRefTest.cpp
John McCall
rjmccall at apple.com
Sat Jan 2 22:50:02 PST 2010
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.
John.
More information about the llvm-commits
mailing list