================ @@ -11610,9 +11610,10 @@ static void DiagnoseBadDeduction(Sema &S, NamedDecl *Found, Decl *Templated, bool TakingCandidateAddress) { TemplateParameter Param = DeductionFailure.getTemplateParameter(); NamedDecl *ParamD; - (ParamD = Param.dyn_cast<TemplateTypeParmDecl*>()) || - (ParamD = Param.dyn_cast<NonTypeTemplateParmDecl*>()) || - (ParamD = Param.dyn_cast<TemplateTemplateParmDecl*>()); + (ParamD = Param.dyn_cast<TemplateTypeParmDecl *>()) || + (ParamD = Param.dyn_cast<NonTypeTemplateParmDecl *>()) || + (ParamD = Param.dyn_cast<TemplateTemplateParmDecl *>()); + ---------------- antoniofrighetto wrote:
Space between type and pointer. ```suggestion (ParamD = Param.dyn_cast<TemplateTypeParmDecl *>()) || (ParamD = Param.dyn_cast<NonTypeTemplateParmDecl *>()) || (ParamD = Param.dyn_cast<TemplateTemplateParmDecl *>()); ``` https://github.com/llvm/llvm-project/pull/122754 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits