================ @@ -14037,6 +14037,15 @@ class Sema final : public SemaBase { TemplateArgument Arg, SmallVectorImpl<UnexpandedParameterPack> &Unexpanded); + /// Collect the set of unexpanded parameter packs within the given + /// template argument. + /// + /// \param Arg The template argument that will be traversed to find + /// unexpanded parameter packs. + void collectUnexpandedParameterPacksForFoldExprs( + Expr *E, SmallVectorImpl<UnexpandedParameterPack> &Unexpanded, + SmallVectorImpl<UnexpandedParameterPack> &UnexpandedFromConstraints); + ---------------- cor3ntin wrote:
The comment is wrong, and i don't understand why we need `collectUnexpandedParameterPacks` specifically for fold expressions. - We already should handle fold expressions correctly https://github.com/llvm/llvm-project/pull/86265 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits