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)
commit8363f04ee626280fefa6d2848751859820a8d4c9
treeb908e691590746c3ef773992c59645f05385bbe1
parent9ab7fb6b731683581d0fe022b65bb45b40124cd2
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.

llvm-svn: 220697
clang/include/clang/Sema/Sema.h
clang/include/clang/Sema/TypoCorrection.h
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaLookup.cpp