2a78fa5209
A recent addition to Coroutines TS (https://wg21.link/p0913) adds a pre-defined coroutine noop_coroutine that does nothing. To implement this feature, we implemented an llvm.coro.noop intrinsic that returns a coroutine handle to a coroutine that does nothing when resumed or destroyed. This patch adds a builtin __builtin_coro_noop() that maps to llvm.coro.noop intrinsic. Related llvm change: https://reviews.llvm.org/D45114 llvm-svn: 328993 |
||
---|---|---|
.. | ||
Inputs | ||
coro-alloc.cpp | ||
coro-await-domination.cpp | ||
coro-await.cpp | ||
coro-builtins-err.c | ||
coro-builtins.c | ||
coro-cleanup.cpp | ||
coro-dest-slot.cpp | ||
coro-eh-cleanup.cpp | ||
coro-gro-nrvo.cpp | ||
coro-gro.cpp | ||
coro-lambda.cpp | ||
coro-params.cpp | ||
coro-promise-dtor.cpp | ||
coro-ret-void.cpp | ||
coro-return.cpp | ||
coro-unhandled-exception.cpp | ||
microsoft-abi-operator-coawait.cpp |