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

Kaelyn Takata rikka at google.com
Fri Aug 22 16:01:20 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 | 83 +++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 72 insertions(+), 11 deletions(-)

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


More information about the cfe-commits mailing list