================ @@ -951,28 +959,130 @@ Sema::ActOnDecompositionDeclarator(Scope *S, Declarator &D, return New; } +namespace { +// CheckBindingsCount +// - Checks the arity of the structured bindings +// - Creates the resolved pack expr if there is +// one +bool CheckBindingsCount(Sema &S, DecompositionDecl *DD, QualType DecompType, + ArrayRef<BindingDecl *> Bindings, + unsigned MemberCount) { ---------------- zyn0217 wrote:
style nit ```suggestion // CheckBindingsCount // - Checks the arity of the structured bindings // - Creates the resolved pack expr if there is // one static bool CheckBindingsCount(Sema &S, DecompositionDecl *DD, QualType DecompType, ArrayRef<BindingDecl *> Bindings, unsigned MemberCount) { ``` https://github.com/llvm/llvm-project/pull/121417 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits