FileCheck: When looking for "possible matches", only compare against the prefix
authorDaniel Dunbar <daniel@zuster.org>
Sat, 30 Jan 2010 00:24:06 +0000 (00:24 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 30 Jan 2010 00:24:06 +0000 (00:24 +0000)
commit0806f9ff5860ce351540ff2897dec1667154ca19
tree57540ce902d350ecd819ff4e79f9b0a1217815d2
parentec2b1f1beb134872aba4faf2e7a9c7eabcf64df9
FileCheck: When looking for "possible matches", only compare against the prefix
line. Turns out edit_distance can be slow if the string we are scanning for
happens to be quite large.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94860 91177308-0d34-0410-b5e6-96231b3b80d8
utils/FileCheck/FileCheck.cpp