[clang] [clang] CTAD alias: fix transformation for require-clause expr Part2. (PR #93533)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 10:13:03 PDT 2024


================
@@ -3100,6 +3118,7 @@ BuildDeductionGuideForTypeAlias(Sema &SemaRef,
         Context.getInjectedTemplateArg(NewParam));
     TransformedDeducedAliasArgs[AliasTemplateParamIdx] = NewTemplateArgument;
   }
+  unsigned UndeducedTemplateParameterStartIndex = FPrimeTemplateParams.size();
----------------
mizvekov wrote:

Nit, this is a bit of a mouth full:
```suggestion
  unsigned FirstUndeducedParamIdx = FPrimeTemplateParams.size();
```

https://github.com/llvm/llvm-project/pull/93533


More information about the cfe-commits mailing list