commit | 7d5e6948e6a4e04ee67b607f931d90d3063579f2 | [log] [tgz] |
---|---|---|
author | Kaelyn Uhrain <rikka@google.com> | Wed Jan 11 19:37:46 2012 +0000 |
committer | Kaelyn Uhrain <rikka@google.com> | Wed Jan 11 19:37:46 2012 +0000 |
tree | 2077c5a6bf530e42d29f39b133b29f5ae05d5236 | |
parent | 015f608042a1d247899866849e69a4e9a1aff6a8 [diff] |
Add initial callback object support to Sema::CorrectTypo. Also includes two examples of the callback: a wrapper/replacement for the CorrectTypoContext enum, and a conversion of the two calls to CorrectTypo in SemaDeclCXX.cpp (one of which provides verifiable improvement to the typo correction, as demonstrated in the added test). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147962 91177308-0d34-0410-b5e6-96231b3b80d8