[clang] [clang] CTAD alias: fix transformation for require-clause expr Part2. (PR #93533)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 27 01:23:46 PDT 2024
================
@@ -2840,8 +2841,22 @@ buildAssociatedConstraints(Sema &SemaRef, FunctionTemplateDecl *F,
for (unsigned Index = 0; Index < DeduceResults.size(); ++Index) {
const auto &D = DeduceResults[Index];
- if (D.isNull())
+ if (D.isNull()) { // non-deduced template parameters of f
+ auto TP = F->getTemplateParameters()->getParam(Index);
----------------
hokein wrote:
Done
https://github.com/llvm/llvm-project/pull/93533
More information about the cfe-commits
mailing list