Lines Matching refs:ParamD

9259   NamedDecl *ParamD;  in DiagnoseBadDeduction()  local
9260 (ParamD = Param.dyn_cast<TemplateTypeParmDecl*>()) || in DiagnoseBadDeduction()
9261 (ParamD = Param.dyn_cast<NonTypeTemplateParmDecl*>()) || in DiagnoseBadDeduction()
9262 (ParamD = Param.dyn_cast<TemplateTemplateParmDecl*>()); in DiagnoseBadDeduction()
9268 assert(ParamD && "no parameter found for incomplete deduction result"); in DiagnoseBadDeduction()
9271 << ParamD->getDeclName(); in DiagnoseBadDeduction()
9277 assert(ParamD && "no parameter found for bad qualifiers deduction result"); in DiagnoseBadDeduction()
9278 TemplateTypeParmDecl *TParam = cast<TemplateTypeParmDecl>(ParamD); in DiagnoseBadDeduction()
9296 << ParamD->getDeclName() << Arg << NonCanonParam; in DiagnoseBadDeduction()
9302 assert(ParamD && "no parameter found for inconsistent deduction result"); in DiagnoseBadDeduction()
9304 if (isa<TemplateTypeParmDecl>(ParamD)) in DiagnoseBadDeduction()
9306 else if (isa<NonTypeTemplateParmDecl>(ParamD)) in DiagnoseBadDeduction()
9314 << which << ParamD->getDeclName() << *DeductionFailure.getFirstArg() in DiagnoseBadDeduction()
9321 assert(ParamD && "no parameter found for invalid explicit arguments"); in DiagnoseBadDeduction()
9322 if (ParamD->getDeclName()) in DiagnoseBadDeduction()
9325 << ParamD->getDeclName(); in DiagnoseBadDeduction()
9328 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ParamD)) in DiagnoseBadDeduction()
9331 = dyn_cast<NonTypeTemplateParmDecl>(ParamD)) in DiagnoseBadDeduction()
9334 index = cast<TemplateTemplateParmDecl>(ParamD)->getIndex(); in DiagnoseBadDeduction()