================ @@ -3656,6 +3656,11 @@ bool Expr::HasSideEffects(const ASTContext &Ctx, // These never have a side-effect. return false; + // ResolvedUnexpandedPackExpr is currently only used for + // structed bindings which have no side effects ---------------- cor3ntin wrote:
Even in the future this would not have side effects, rights (at least as long as packs are id-expressions) 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