[PATCH] D125936: [Sema] Relax an assertion in BuildStmtExpr
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 15:38:16 PDT 2022
ahatanak added a comment.
No, I don't think there are any problems. We can probably just pop the cleanups at the end of the asm statement.
The original commit message said the asm calls had to be wrapped in `StmtExpr`s because temporaries would get destroyed before the asm calls, but that doesn't seem to happen anymore. It looks like they'd be destroyed at the end of the enclosing scope instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125936/new/
https://reviews.llvm.org/D125936
More information about the cfe-commits
mailing list