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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user