aboutsummaryrefslogtreecommitdiff
path: root/lib/Rewrite/FrontendActions.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
commitbb3d9976fd0e037ec9864baeaf23dc138bcb6df0 (patch)
tree0f5bc303a573b40f9d8b0ea83bf1b3b4fb205dcb /lib/Rewrite/FrontendActions.cpp
parent2872c8d5465623c1207b17873f228f5d96038d5e (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