[clang] Reapply "[Clang] Improve diagnostics for expansion length mismatch" (PR #121044)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 13 01:59:03 PDT 2025
================
@@ -75,7 +75,7 @@ getDepthAndIndex(UnexpandedParameterPack UPP) {
if (const auto *TTP = dyn_cast<const TemplateTypeParmType *>(UPP.first))
return std::make_pair(TTP->getDepth(), TTP->getIndex());
----------------
cor3ntin wrote:
We should add support for SubstTemplateTypeParmPackType / SubstNonTypeTemplateParmPackExpr here
https://github.com/llvm/llvm-project/pull/121044
More information about the cfe-commits
mailing list