]> granicus.if.org Git - clang/commit
Factor out the default recovery handling.
authorKaelyn Takata <rikka@google.com>
Thu, 20 Nov 2014 22:06:30 +0000 (22:06 +0000)
committerKaelyn Takata <rikka@google.com>
Thu, 20 Nov 2014 22:06:30 +0000 (22:06 +0000)
commit07bdb117d2721eb5d379b2fe6e197c4353f0013f
tree20f5c52fd9f0248166b9488eafa5529132be46a4
parenta165fa55138e10aca3826bfda3987023b02648e6
Factor out the default recovery handling.

The default handling is extended to properly create member expressions
and Objective-C ivar references.

Also detect and reject cases where multiple corrections have identical
correction distances and are valid, instead of suggesting the first one
that is found.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp