]> granicus.if.org Git - clang/commit
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)
commitbf5be516bea7d72540dbb7eed525c72b6e3ca561
treec9e047ff081f9530f8c4bb84ae1aa7f84b3fe25e
parentabd1fbfcbaf79911068dbe992e58b106c9bf2a6f
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.

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