[PATCH] D45121: [coroutines] Add noop_coroutine to <experimental/coroutine>

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 31 07:21:57 PDT 2018


GorNishanov created this revision.
GorNishanov added reviewers: EricWF, lewissbaker, modocache.
GorNishanov added dependencies: D45114: [coroutines] Add support for llvm.coro.noop intrinsics, D45120: [coroutines] Add __builtin_coro_noop => llvm.coro.noop.

A recent addition to Coroutines TS (https://wg21.link/p0913) adds a pre-defined
coroutine noop_coroutine that does nothing.

This patch implements require library types in <experimental/coroutine>

Related clang and llvm patches:

https://reviews.llvm.org/D45114
https://reviews.llvm.org/D45120


https://reviews.llvm.org/D45121

Files:
  include/experimental/coroutine
  test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45121.140536.patch
Type: text/x-patch
Size: 3614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180331/18235863/attachment.bin>


More information about the cfe-commits mailing list