[PATCH] D64464: [CodeGen] Emit destructor calls to destruct compound literals
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 5 16:26:34 PST 2020
rjmccall added a comment.
This patch looks good except for that C/C++ semantic difference. A compound literal temporary can be lifetime-extended in C++, but only in the standard way of binding a reference to it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64464/new/
https://reviews.llvm.org/D64464
More information about the cfe-commits
mailing list