================
@@ -998,33 +998,42 @@ buildAssociatedConstraints(Sema &SemaRef,
FunctionTemplateDecl *F,
AliasTemplate->getInstantiatedFromMemberTemplate())
AdjustDepth = PrimaryTemplate->getTemplateDepth();
+ // FIXME: We're rebuilding the synthesized template parameter list again
+ // Consider reuse the template parameter from its caller.
+
// We rebuild all template parameters with the uninstantiated depth, and
// build template arguments refer to them.
----------------
cor3ntin wrote:
These comments are pretty similar - and given we are changing the depth,
realistically i don't think there is anything we could reuse
https://github.com/llvm/llvm-project/pull/223340
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits