]> granicus.if.org Git - clang/commit
When typo correction produces a result that is not of the kind we're
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 19:27:42 +0000 (19:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 19:27:42 +0000 (19:27 +0000)
commit12eb5d6aa882eb247a6c22225b625eee04217105
tree84e19ec194d05d43f8e605bd463b9a1b671d6f55
parent958c53c369b2e96b7638f170a3fcb4ff43382ff1
When typo correction produces a result that is not of the kind we're
looking for, reset the name within the LookupResult structure in
addition to clearing out the results. Fixes PR7508.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107197 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplate.cpp
test/SemaCXX/member-expr.cpp