[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)
Chuanqi Xu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 19:42:34 PST 2024
================
@@ -173,6 +173,10 @@ static bool ResumeStmtCanThrow(const Stmt *S) {
return false;
}
+static bool AwaitSuspendStmtCanThrow(const Stmt *S) {
+ return ResumeStmtCanThrow(S);
+}
----------------
ChuanqiXu9 wrote:
Maybe it will be better to rename `ResumeStmtCanThrow` to `StmtCanThrow`
https://github.com/llvm/llvm-project/pull/79712
More information about the llvm-commits
mailing list