Keep track of function template specializations, to eliminate

redundant, implicit instantiations of function templates and provide a
place where we can hang function template specializations.

llvm-svn: 74454
This commit is contained in:
Douglas Gregor
2009-06-29 20:59:39 +00:00
parent 10de9e6602
commit 8f5d4423ca
9 changed files with 530 additions and 382 deletions

View File

@@ -1500,6 +1500,8 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
break;
// No code generation needed.
case Decl::Using:
case Decl::ClassTemplate:
case Decl::FunctionTemplate:
break;
case Decl::CXXConstructor:
EmitCXXConstructors(cast<CXXConstructorDecl>(D));