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

2023-11-21 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 closed https://github.com/llvm/llvm-project/pull/72935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
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

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 9d89a0bf81290b58344f4d5f220f62a3a256618d Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 1179379f36e4e52b8478af001a409546e3ff5859 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 edited https://github.com/llvm/llvm-project/pull/72935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 edited https://github.com/llvm/llvm-project/pull/72935 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 354b4390725f9142838e2c8d3d09b058f9519c10 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/72935 >From 1eae15f7880574d4e5e8a9ea8757883aa136fa44 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 17:01:05 -0800 Subject: [PATCH] remove try stmt around initial suspend, merge with main try

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

2023-11-20 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 2ca028ce7c6de5f1350440012355a65383b8729a 72fcc02a032e28517d87c8c0fe8279b9833bc9a9 --

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

2023-11-20 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 created https://github.com/llvm/llvm-project/pull/72935 None >From 13b54167ea0dfe4f39de7b29c3e61489aa683caa Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Mon, 20 Nov 2023 16:06:44 -0800 Subject: [PATCH 1/2] Attempt to fix init sus ret destroy ---