================
@@ -924,6 +924,11 @@ Sema::ActOnDecompositionDeclarator(Scope *S, Declarator &D,
auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name, QT);
+ if (BD->isParameterPack()) {
----------------
shafik wrote:
WE should be avoiding duplicate code blocks aggressively unless there is some
sort of penalty for doing so. The research show very clearly that duplicate
code blocks are very likely to accumulate diverging bugs over time,
https://github.com/llvm/llvm-project/pull/214716
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits