]> granicus.if.org Git - clang/commit
Cope with finding the "instantiated" declaration when we are
authorDouglas Gregor <dgregor@apple.com>
Fri, 5 Feb 2010 22:40:03 +0000 (22:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 5 Feb 2010 22:40:03 +0000 (22:40 +0000)
commit8b013bdbf6474ed25d4017635cac851e51163c25
tree287d5b61ba93c5cd09f42c93d8e6be6d3888e823
parent04a67a6aa3dfdc92d57f7f8d93ba397348c868a4
Cope with finding the "instantiated" declaration when we are
type-checking within a template definition. In this case, the
"instantiated" declaration is just the declaration itself, found
within the current instantiation. Fixes PR6239.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95442 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/instantiate-member-template.cpp