remove some defensive code: LocalInstantiationScope::getInstantiationOf
commita70062ff988eb1fc4a159e463a2a3de5155b7f6a
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 19:38:27 +0000 (17 19:38 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 19:38:27 +0000 (17 19:38 +0000)
tree7867a0296020b8bfee2091b5e8c592beca009260
parent4d4f0db3b6bf73162e75541547e900e4248d49ef
remove some defensive code: LocalInstantiationScope::getInstantiationOf
and findInstantiationOf can never return null, even on invalid code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125769 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateVariadic.cpp