diff options
author | Kaelyn Uhrain <rikka@google.com> | 2012-02-07 01:32:58 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2012-02-07 01:32:58 +0000 |
commit | bb3d9976fd0e037ec9864baeaf23dc138bcb6df0 (patch) | |
tree | 0f5bc303a573b40f9d8b0ea83bf1b3b4fb205dcb /lib/Rewrite/FrontendActions.cpp | |
parent | 2872c8d5465623c1207b17873f228f5d96038d5e (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions