================
@@ -2653,20 +2653,34 @@ struct ConvertConstructorToDeductionGuideTransform {
// Find all template parameters that appear in the given DeducedArgs.
// Return the indices of the template parameters in the TemplateParams.
SmallVector<unsigned> TemplateParamsReferencedInTemplateArgumentList(
- ArrayRef<NamedDecl *> TemplateParams,
+ const TemplateParameterList* TemplateParamsList,
----------------
mizvekov wrote:
The template parameters themselves should also have a depth, not just the index.
So you don't need to change everything to pass a TemplateParameterList instead
of the array as before.
In fact, TemplateParameterList will just return the depth of its first
parameter.
https://github.com/llvm/llvm-project/pull/98013
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits