Document the edit-distance algorithm used in StringRef, switch it over
authorDouglas Gregor <dgregor@apple.com>
Thu, 31 Dec 2009 04:24:34 +0000 (04:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 31 Dec 2009 04:24:34 +0000 (04:24 +0000)
commit7e54d5b1562f085c898bf8fcc4ac939ec893444c
tree129e2694319cb77296b59d0c36bda097ec576407
parent210d0febc24551aed293b903562c19567e96fa5d
Document the edit-distance algorithm used in StringRef, switch it over
to SmallVector, and add a unit test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92340 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/StringRef.cpp
unittests/ADT/StringRefTest.cpp