aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-02-14 18:56:48 +0000
committerKaelyn Uhrain <rikka@google.com>2012-02-14 18:56:48 +0000
commit0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae (patch)
treea0ff5d69501be99bdffbe8fd8eabd6f91b7d1156 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent595111f2218371ab76af08b28f0003ad414be990 (diff)
downloadllvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.zip
llvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.tar.gz
llvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.tar.bz2
Use several weighted factors to determine typo candidate viablity.
Replace the simple Levenshtein edit distance for typo correction candidates--and the hacky way adding namespace qualifiers would affect the edit distance--with a synthetic "edit distance" comprised of several factors and their relative weights. This also allows the typo correction callback object to convey more information about the viability of a correction candidate than simply viable or not viable. llvm-svn: 150495
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions