[PATCH] D82999: [CodeGen] Check the cleanup flag before destructing lifetime-extended temporaries created in conditional expressions
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 16:13:16 PDT 2020
ahatanak added a comment.
And if the constructor call for `A` in the true expression throws, it's not necessary to call the destructor either since the object hasn't been constructed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82999/new/
https://reviews.llvm.org/D82999
More information about the cfe-commits
mailing list