[PATCH v4 7/8] Add a callback for recovering using a typo correction.

Kaelyn Takata rikka at google.com
Thu Jul 31 13:20:31 PDT 2014


Also keep track of the stack of Exprs visited during the tree transform
so the callback can be passed the parent of the TypoExpr.
---
 include/clang/Sema/Sema.h           |  8 ++++++--
 include/clang/Sema/TypoCorrection.h |  8 ++++++++
 lib/Sema/SemaExprCXX.cpp            | 19 ++++++++++++-------
 lib/Sema/SemaLookup.cpp             | 12 +++++++-----
 4 files changed, 33 insertions(+), 14 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4-0007-Add-a-callback-for-recovering-using-a-typo-correc.patch
Type: text/x-patch
Size: 5778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140731/dcd6e298/attachment.bin>


More information about the cfe-commits mailing list