forked from OSchip/llvm-project
parent
28fc70910f
commit
4d14296263
|
@ -1038,8 +1038,7 @@ Decl *TemplateDeclInstantiator::VisitFunctionDecl(FunctionDecl *D,
|
|||
LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
|
||||
|
||||
SmallVector<ParmVarDecl *, 4> Params;
|
||||
TypeSourceInfo *TInfo = D->getTypeSourceInfo();
|
||||
TInfo = SubstFunctionType(D, Params);
|
||||
TypeSourceInfo *TInfo = SubstFunctionType(D, Params);
|
||||
if (!TInfo)
|
||||
return 0;
|
||||
QualType T = TInfo->getType();
|
||||
|
|
Loading…
Reference in New Issue