efriedma-quic wrote: You're right, we have issues anytime we construct an object directly into the return value slot, and the check isn't catching all those cases. It shouldn't really be visible to users unless you're constructing an object using a non-trivial constructor... but the codegen is still wrong. I'll think about it a bit more.
https://github.com/llvm/llvm-project/pull/94282 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits