[PATCH v2 4/6] Factor out the default recovery handling.

Kaelyn Takata rikka at google.com
Wed Oct 29 12:49:31 PDT 2014


The default handling is extended to properly create member expressions
and Objective-C ivar references.

Also detect and reject cases where multiple corrections have identical
correction distances and are valid, instead of suggesting the first one
that is found.
---
 lib/Sema/SemaExprCXX.cpp | 91 ++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 77 insertions(+), 14 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0004-Factor-out-the-default-recovery-handling.patch
Type: text/x-patch
Size: 4594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141029/813ec471/attachment.bin>


More information about the cfe-commits mailing list