diff options
author | Kaelyn Takata <rikka@google.com> | 2014-10-27 18:07:34 +0000 |
---|---|---|
committer | Kaelyn Takata <rikka@google.com> | 2014-10-27 18:07:34 +0000 |
commit | 0d6a3edccedde68f8042026dfee6ed772796d0d9 (patch) | |
tree | 4be9bf21bfeabd71964ff352ea0b77380c205376 /clang/lib/Sema/SemaExpr.cpp | |
parent | 89c881b548753639e4abf8a6edf30edf22190275 (diff) | |
download | bcm5719-llvm-0d6a3edccedde68f8042026dfee6ed772796d0d9.tar.gz bcm5719-llvm-0d6a3edccedde68f8042026dfee6ed772796d0d9.zip |
Have TypoCorrectionConsumer remember the TypoCorrections it returned.
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.
llvm-svn: 220694
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions