]> granicus.if.org Git - clang/commit
Limit set of types instantiated in FindInstantiatedDecl.
authorSerge Pavlov <sepavloff@gmail.com>
Fri, 15 May 2015 10:10:28 +0000 (10:10 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Fri, 15 May 2015 10:10:28 +0000 (10:10 +0000)
commitd0a49e2f5421c8485e2099510b13d544acc035dc
treec92cf5a620bef9417777e3e5c9232462a380e1d9
parentdb89841ef9cb0b1f1ee005a8e18fa9f62bcab150
Limit set of types instantiated in FindInstantiatedDecl.

Starting from r236426 FindInstantiatedDecl may instantiate types that
are referenced before definition. This change limit the set of types
that can be instantiated by this function.

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