[PATCH 2/6] Create two helpers for running the typo-correction tree transform.

Kaelyn Takata rikka at google.com
Fri Aug 22 16:01:18 PDT 2014

One takes an Expr* and the other is a simple wrapper that takes an
ExprResult instead, and handles checking whether the ExprResult is

Additionally, allow an optional callback that is run on the full result
of the tree transform, for filtering potential corrections based on the
characteristics of the resulting expression once all of the typos have
been replaced.
 include/clang/Sema/Sema.h | 13 +++++++++++++
 lib/Sema/SemaExprCXX.cpp  | 40 ++++++++++++++++++++++++++--------------
 2 files changed, 39 insertions(+), 14 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Create-two-helpers-for-running-the-typo-correction-t.patch
Type: text/x-patch
Size: 4042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140822/22fcd41b/attachment.bin>

More information about the cfe-commits mailing list