miyuki added a comment. In D94237#2493844 <https://reviews.llvm.org/D94237#2493844>, @dblaikie wrote:
> Do you need to run the destructor before placement new in these situations? No, because there is no active union member in any of those situations. And if even if there was an active member, all destructors are trivial anyway. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94237/new/ https://reviews.llvm.org/D94237 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits