]> granicus.if.org Git - clang/commit
In TypoCorrectionConsumer, BestResults to CorrectionResults to lessen
authorKaelyn Uhrain <rikka@google.com>
Thu, 31 May 2012 23:32:58 +0000 (23:32 +0000)
committerKaelyn Uhrain <rikka@google.com>
Thu, 31 May 2012 23:32:58 +0000 (23:32 +0000)
commit396e0a8cfa3fbdd5fde83a19cc87b7af62cc1ddd
tree0e0d6f98f7cdc0080a5572b693f66ce913804e74
parent3427682d365174f5d69d55e2c6deef49ace0668b
In TypoCorrectionConsumer, BestResults to CorrectionResults to lessen
the confusion among all of the uses of Best* in relation to the set of
possible typo correction results. Also add a method to return the set of
typo corrections that have the single best edit distance--it returns the
second half of the first pair in TypoEditDistanceMap (with
getBestEditDistance already returning the first half).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157781 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLookup.cpp