]> granicus.if.org Git - clang/commit
When searching for the instantiation of a locally-scoped tag
authorDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 21:22:51 +0000 (21:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 21:22:51 +0000 (21:22 +0000)
commitebb1c56a4b7a944921b564025df53505ff886050
treec447b91c2617d6a15feb3ec9f58338599df9caa0
parentb68e39930d06ed81a2b431dc09e4cb97e5c0d57a
When searching for the instantiation of a locally-scoped tag
declaration, also look for an instantiation of its previous
declarations. Fixes PR8801.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122361 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/instantiate-local-class.cpp