[clang] [Clang] Fix ICE when `initial_suspend()`'s `await_resume()` returns a non-trivially destructible type (PR #72935)

Yuxuan Chen via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 17:52:28 PST 2023


yuxuanchen1997 wrote:

Deleting `memberCallExpressionCanThrow` should be ok. It has been buggy before (the statement wasn't even a `CXXMemberCallExp`).
It shouldn't matter if the init suspend await resume is noexcept or not. The old logic did not generate for case where the coro's exception handler wasn't there either. 

https://github.com/llvm/llvm-project/pull/72935


More information about the cfe-commits mailing list