gcc/libstdc++-v3/testsuite/18_support
Jonathan Wakely 94fd05f1f7 libstdc++: Define noop coroutine details private and inline [PR 95917]
This moves the __noop_coro_frame type, the __noop_coro_fr global
variable, and the __dummy_resume_destroy function from namespace scope,
replacing them with private members of the specialization
coroutine_handle<noop_coroutine_promise>.

The function and variable are also declared inline, so that they
generate no code unless used.

libstdc++-v3/ChangeLog:

	PR libstdc++/95917
	* include/std/coroutine (__noop_coro_frame): Replace with
	noop_coroutine_handle::__frame.
	(__dummy_resume_destroy): Define inline in __frame.
	(__noop_coro_fr): Replace with noop_coroutine_handle::_S_fr
	and define as inline.
	* testsuite/18_support/coroutines/95917.cc: New test.
2020-10-20 11:37:48 +01:00
..
aligned_alloc
bad_alloc
bad_cast
bad_exception
bad_typeid
byte
comparisons libstdc++: Replace some VERIFY tests with static_assert 2020-08-07 17:45:42 +01:00
coroutines libstdc++: Define noop coroutine details private and inline [PR 95917] 2020-10-20 11:37:48 +01:00
exception
exception_ptr libstdc++: Inline std::exception_ptr members [PR 90295] 2020-10-06 17:24:16 +01:00
headers
initializer_list
launder
max_align_t/requirements
nested_exception
numeric_limits
quick_exit
type_info
uncaught_exception
uncaught_exceptions
50594.cc
51333.cc
96817.cc libstdc++: Fix testcase by using terminate handler 2020-10-02 22:18:51 +01:00
cxa_vec.cc
destroying_delete.cc libstdc++: Break header cycle between <new> and <exception> 2020-09-02 13:56:32 +01:00
free_eh_pool.cc
new_aligned.cc
new_delete_placement.cc
new_handler.cc
new_nothrow.cc
pthread_guard.cc
set_terminate.cc libstdc++: Ensure c++NN effective-target present in more tests 2020-07-31 19:58:03 +01:00
set_unexpected.cc
terminate_handler.cc
unexpected_handler.cc