]> granicus.if.org Git - clang/commit
When instantiating a member function declared via a typedef, don't try
authorDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 15:32:18 +0000 (15:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 3 May 2010 15:32:18 +0000 (15:32 +0000)
commit6920cdce298ac9ba50dc7ebb7dea982a300b0664
tree12086ca5b650959d464bc2e7edb58e49eb662e02
parentfe60f84c4f201c9ca8126066779da8ee004a70fc
When instantiating a member function declared via a typedef, don't try
to enter the instantiated parameter declarations into the local
instantiation scope; they can't be referenced anyway. Fixes PR7022.

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