Lines Matching refs:FD
4141 bool Sema::DeduceReturnType(FunctionDecl *FD, SourceLocation Loc,
4143 assert(FD->getReturnType()->isUndeducedType());
4145 if (FD->getTemplateInstantiationPattern())
4146 InstantiateFunctionDefinition(Loc, FD);
4148 bool StillUndeduced = FD->getReturnType()->isUndeducedType();
4149 if (StillUndeduced && Diagnose && !FD->isInvalidDecl()) {
4150 Diag(Loc, diag::err_auto_fn_used_before_defined) << FD;
4151 Diag(FD->getLocation(), diag::note_callee_decl) << FD;