================
@@ -1000,45 +1014,46 @@ buildAssociatedConstraints(Sema &SemaRef,
FunctionTemplateDecl *F,
// We rebuild all template parameters with the uninstantiated depth, and
// build template arguments refer to them.
- SmallVector<TemplateArgument> AdjustedAliasTemplateArgs;
+ SmallVector<TemplateArgument> AdjustedAliasTemplateArgs(
+ AliasTemplate->getTemplateParameters()->size());
- for (auto *TP : *AliasTemplate->getTemplateParameters()) {
+ unsigned N = 0;
----------------
shafik wrote:
Why not just call `N` as `NewIndex` since that is what it seems to be. The name
`N` does not tell me anything at all.
https://github.com/llvm/llvm-project/pull/223340
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits