This revision was automatically updated to reflect the committed changes.
Closed by commit rL297356: [coroutines] Build and pass coroutine_handle to
await_suspend (authored by GorNishanov).
Changed prior to commit:
https://reviews.llvm.org/D30769?vs=91121&id=91122#toc
Repository:
rL LLVM
ht
GorNishanov updated this revision to Diff 91121.
GorNishanov added a comment.
tweak SemaCXX/coreturn.cpp test to actually pass
https://reviews.llvm.org/D30769
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaCoroutine.cpp
lib/Sema/SemaExprMember.cpp
test/CodeGenCoroutines/
GorNishanov created this revision.
Herald added subscribers: EricWF, mehdi_amini.
This patch adds passing a coroutine_handle object to await_suspend calls.
It builds the coroutine_handle using
coroutine_handle::from_address(__builtin_coro_frame()).
(a revision of https://reviews.llvm.org/D26316