[clang] [Clang][P1061] Add stuctured binding packs (PR #121417)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 2 01:40:47 PST 2025
================
@@ -50,16 +51,28 @@ class CollectUnexpandedParameterPacksVisitor
auto *FTD = FD ? FD->getDescribedFunctionTemplate() : nullptr;
if (FTD && FTD->getTemplateParameters()->getDepth() >= DepthLimit)
return;
- } else if (getDepthAndIndex(ND).first >= DepthLimit)
+ } else if (ND->isTemplateParameterPack() &&
----------------
zyn0217 wrote:
Can you explain why you add ND->isTemplateParameterPack() ?
https://github.com/llvm/llvm-project/pull/121417
More information about the cfe-commits
mailing list