Enable correcting a member declaration where the type is class template,
authorKaelyn Uhrain <rikka@google.com>
Thu, 13 Feb 2014 20:14:07 +0000 (20:14 +0000)
committerKaelyn Uhrain <rikka@google.com>
Thu, 13 Feb 2014 20:14:07 +0000 (20:14 +0000)
commit67b44c9871684ed4c78eb12b62b6b86fa2e13fad
treebc1cb5c11df843e9bd802553f9a3cf17e80952f6
parentb1b5007c521bf6591941fd047d16868e4fdea975
Enable correcting a member declaration where the type is class template,
and the class name is shadowed by another member. Recovery still needs
to be figured out, which is non-trivial since the parser has already gone
down a much different path than if it had recognized the class template
as type instead of seeing the member that shadowed the class template.

llvm-svn: 201360
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/typo-correction-pt2.cpp