[PATCH v4 8/8] Wire up LookupMemberExpr to use the new TypoExpr.
Kaelyn Takata
rikka at google.com
Thu Jul 31 13:20:32 PDT 2014
This includes adding the new TypoExpr-based lazy typo correction to
LookupMemberExprInRecord as an alternative to the existing eager typo
correction.
---
lib/Sema/SemaExprCXX.cpp | 40 ++++++++++-
lib/Sema/SemaExprMember.cpp | 116 ++++++++++++++++++++++++++++---
test/SemaCXX/arrow-operator.cpp | 5 +-
test/SemaCXX/typo-correction-delayed.cpp | 32 +++++++++
test/SemaCXX/typo-correction-pt2.cpp | 2 +-
test/SemaCXX/typo-correction.cpp | 10 +--
6 files changed, 186 insertions(+), 19 deletions(-)
create mode 100644 test/SemaCXX/typo-correction-delayed.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4-0008-Wire-up-LookupMemberExpr-to-use-the-new-TypoExpr.patch
Type: text/x-patch
Size: 13905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140731/de6ef6e5/attachment.bin>
More information about the cfe-commits
mailing list