Lines Matching refs:ParamD

9388   NamedDecl *ParamD;  in DiagnoseBadDeduction()  local
9389 (ParamD = Param.dyn_cast<TemplateTypeParmDecl*>()) || in DiagnoseBadDeduction()
9390 (ParamD = Param.dyn_cast<NonTypeTemplateParmDecl*>()) || in DiagnoseBadDeduction()
9391 (ParamD = Param.dyn_cast<TemplateTemplateParmDecl*>()); in DiagnoseBadDeduction()
9397 assert(ParamD && "no parameter found for incomplete deduction result"); in DiagnoseBadDeduction()
9400 << ParamD->getDeclName(); in DiagnoseBadDeduction()
9406 assert(ParamD && "no parameter found for bad qualifiers deduction result"); in DiagnoseBadDeduction()
9407 TemplateTypeParmDecl *TParam = cast<TemplateTypeParmDecl>(ParamD); in DiagnoseBadDeduction()
9425 << ParamD->getDeclName() << Arg << NonCanonParam; in DiagnoseBadDeduction()
9431 assert(ParamD && "no parameter found for inconsistent deduction result"); in DiagnoseBadDeduction()
9433 if (isa<TemplateTypeParmDecl>(ParamD)) in DiagnoseBadDeduction()
9435 else if (isa<NonTypeTemplateParmDecl>(ParamD)) in DiagnoseBadDeduction()
9443 << which << ParamD->getDeclName() << *DeductionFailure.getFirstArg() in DiagnoseBadDeduction()
9450 assert(ParamD && "no parameter found for invalid explicit arguments"); in DiagnoseBadDeduction()
9451 if (ParamD->getDeclName()) in DiagnoseBadDeduction()
9454 << ParamD->getDeclName(); in DiagnoseBadDeduction()
9457 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ParamD)) in DiagnoseBadDeduction()
9460 = dyn_cast<NonTypeTemplateParmDecl>(ParamD)) in DiagnoseBadDeduction()
9463 index = cast<TemplateTemplateParmDecl>(ParamD)->getIndex(); in DiagnoseBadDeduction()