[coroutines] Add noop_coroutine to <experimental/coroutine>
authorGor Nishanov <GorNishanov@gmail.com>
Wed, 4 Apr 2018 22:18:03 +0000 (22:18 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Wed, 4 Apr 2018 22:18:03 +0000 (22:18 +0000)
commit0f87a807950704b080dab6ec3cf06ff77eaf3cb0
tree67f765b16dda355b73511c2742d11cda1c050031
parentf11eb3ebe77729426e562d7d4d7ebb1d5ff2e7c8
[coroutines] Add noop_coroutine to <experimental/coroutine>

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

llvm-svn: 329237
libcxx/include/experimental/coroutine
libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp [new file with mode: 0644]