[PATCH v3 4/9] Have TypoCorrectionConsumer remember the TypoCorrections it returned.
Kaelyn Takata
rikka at google.com
Mon Jul 14 16:55:36 PDT 2014
Two additional methods are provided: one to return the current
correction (the last correction returned by getNextCorrection), and one
to "reset" the state so that getNextCorrection will return the previous
corrections before returning any new corrections.
Also ensure that all TypoCorrections have valid source ranges.
---
include/clang/Sema/SemaInternal.h | 31 ++++++++++++++++++++++++++-----
include/clang/Sema/TypoCorrection.h | 2 +-
lib/Sema/SemaLookup.cpp | 16 ++++++++++++----
3 files changed, 39 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0004-Have-TypoCorrectionConsumer-remember-the-TypoCorr.patch
Type: text/x-patch
Size: 4948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140714/d721cac8/attachment.bin>
More information about the cfe-commits
mailing list