[clang] [clang] Handle template argument conversions for non-pack param to pack argument (PR #110963)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 06:33:10 PDT 2024
================
@@ -5592,8 +5589,16 @@ bool Sema::CheckTemplateArgumentList(
} else {
// Move to the next template parameter.
++Param;
+ if (PartialOrderingTTP && PackExpansionIntoNonPack) {
+ SugaredConverted.pop_back();
+ CanonicalConverted.pop_back();
+ continue;
+ }
----------------
cor3ntin wrote:
I think this is worth leaving a comment
https://github.com/llvm/llvm-project/pull/110963
More information about the cfe-commits
mailing list