]> granicus.if.org Git - clang/commit
Propagate isAddressOfMember into typo correction so that we don't correct &qualified...
authorNick Lewycky <nicholas@mxc.ca>
Mon, 23 Jun 2014 22:57:51 +0000 (22:57 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 23 Jun 2014 22:57:51 +0000 (22:57 +0000)
commitee28b09421d031c938fe1526bcbbabdf0bf96c59
tree2da435cd16920bf2f8273fee29cbd414cd98b7a8
parent42988461bb266eb0359f136417498b44a9f786b6
Propagate isAddressOfMember into typo correction so that we don't correct &qualified-id into &unqualified-id. Also make sure to set the naming class when we find the qualified-id in a different class than the nested name specifier specified so far. Fixes PR19681!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211551 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/TypoCorrection.h
lib/Parse/ParseExpr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaLookup.cpp
test/SemaCXX/typo-correction-pt2.cpp