================
@@ -924,6 +924,11 @@ Sema::ActOnDecompositionDeclarator(Scope *S, Declarator &D,
 
     auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name, QT);
 
+    if (BD->isParameterPack()) {
----------------
Sirraide wrote:

You mean we should add something like `Sema::ActOnBindingDecl` or 
`Sema::BuildBindingDecl()` that adds the decl to `CSI->LocalPacks`? That might 
be worth doing if this really is that common

https://github.com/llvm/llvm-project/pull/214716
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to