================ @@ -285,6 +285,13 @@ class CallArgList : public SmallVector<CallArg, 8> { /// A value to "use" after the writeback, or null. llvm::Value *ToUse; + + /// An Expression representing a cast from the temporary's type to the + /// source l-value's type. + const Expr *CastExpr; ---------------- rjmccall wrote:
This comment is no longer correct; consider something like `WritebackExpr`. And maybe the logic for writebacks should simply be that we evaluate this expression if it's present, rather than making a language-mode decision? https://github.com/llvm/llvm-project/pull/101083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits