[PATCH v3 9/9] Wire up LookupMemberExpr to use the new TypoExpr.

Kaelyn Takata rikka at google.com
Mon Jul 14 16:55:41 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/SemaExprMember.cpp              | 149 +++++++++++++++++++++++++++++--
 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 +--
 5 files changed, 182 insertions(+), 16 deletions(-)
 create mode 100644 test/SemaCXX/typo-correction-delayed.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0009-Wire-up-LookupMemberExpr-to-use-the-new-TypoExpr.patch
Type: text/x-patch
Size: 12683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140714/2c5e29ae/attachment.bin>


More information about the cfe-commits mailing list