================
@@ -5190,8 +5253,9 @@ TemplateDeclInstantiator::SubstFunctionType(FunctionDecl
*D,
continue;
}
- ParmVarDecl *Parm =
- cast_or_null<ParmVarDecl>(VisitParmVarDecl(OldParam));
+ ParmVarDecl *Parm = SemaRef.SubstParmVarDecl(
+ OldParam, TemplateArgs, /*indexAdjustment=*/0, std::nullopt,
----------------
mizvekov wrote:
Please spell out the name of the parameter assigned to this nullopt.
https://github.com/llvm/llvm-project/pull/191268
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits