[libcxx] [Coroutines] Support noop_coroutine for GCC
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 27 Dec 2021 05:52:42 +0000 (13:52 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Mon, 27 Dec 2021 05:53:21 +0000 (13:53 +0800)
commit6441536c27cfac46e4a6c5801dc01d5bdcf200c2
treeb3e4f1794ab18370f0f63192f77819e97d238e2e
parent64038ef8c3fedf28d437f59405c62e125d405600
[libcxx] [Coroutines] Support noop_coroutine for GCC

We didn't support noop_coroutine for GCC in previous conforming patch.
So that GCC couldn't use noop_coroutine() defined in <coroutine>. And
after this patch, GCC should be able to compile the whole <coroutine>
header.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D116144
libcxx/docs/Status/Cxx2bIssues.csv
libcxx/include/__coroutine/noop_coroutine_handle.h
libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp