]> granicus.if.org Git - clang/commit
Add a callback for recovering using a typo correction.
authorKaelyn Takata <rikka@google.com>
Mon, 27 Oct 2014 18:07:42 +0000 (18:07 +0000)
committerKaelyn Takata <rikka@google.com>
Mon, 27 Oct 2014 18:07:42 +0000 (18:07 +0000)
commitfb608dd7d0896f85baf1f929dc39a2321d8a49b7
tree2438b5da15e1cd9a9583dd666862617c3516234d
parent1fc4384db372355024f4864f9da3058bd23d0712
Add a callback for recovering using a typo correction.

Also keep track of the stack of Exprs visited during the tree transform
so the callback can be passed the parent of the TypoExpr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220697 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
include/clang/Sema/TypoCorrection.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaLookup.cpp