]> granicus.if.org Git - clang/commit
Don't lose track of previous-declarations when instantiating a class template.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 8 Nov 2010 23:29:42 +0000 (23:29 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 8 Nov 2010 23:29:42 +0000 (23:29 +0000)
commit37574f55cd637340f651330f5cfda69742880d36
treeaeb0fc10d8c2a397e3cc1744c2af24b93c5f6f5b
parented171b80e49c1ef3dcb9c2aa238cc50340ac6e90
Don't lose track of previous-declarations when instantiating a class template.
Fixes PR8001.

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