aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/EDMain.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-02-07 01:32:58 +0000
committerKaelyn Uhrain <rikka@google.com>2012-02-07 01:32:58 +0000
commit1c75d4084dc85921386e4d0c6664c99de8eecab7 (patch)
tree045b86f42e8a2c1fd8b9498ce0ac39c87ffd66e5 /llvm/lib/MC/MCDisassembler/EDMain.cpp
parent3ae7dd377d36117806e90b2bd929415cafd5dc5e (diff)
downloadllvm-1c75d4084dc85921386e4d0c6664c99de8eecab7.zip
llvm-1c75d4084dc85921386e4d0c6664c99de8eecab7.tar.gz
llvm-1c75d4084dc85921386e4d0c6664c99de8eecab7.tar.bz2
Remove the unused TypoCorrectionConsumer::MaxEditDistance.
MaxEditDistance was effectively unused as it being initialized to the max unsigned valued but never updated. Removing it avoids conversion headaches once the "edit distance" of a typo correction is a weighted composite of several values instead of roughly the number of characters changed; comparing the weighted composite value to the number of characters in a typo would require some form of normalization to make it comparable to the old, character-based notion of edit distance. llvm-svn: 149953
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/EDMain.cpp')
0 files changed, 0 insertions, 0 deletions