Home
last modified time | relevance | path

Searched defs:coroutine_traits (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/
Dvoid_handle.pass.cpp26 struct coroutine_traits<::A, int> { struct
27 using promise_type = int*;
30 struct coroutine_traits<::B, Args...> { struct
31 using promise_type = B*;
34 struct coroutine_traits<::C> { struct
35 using promise_type = void;
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/
Dpromise_type.pass.cpp38 struct coroutine_traits<::A, int> { struct
39 using promise_type = int*;
42 struct coroutine_traits<::B, Args...> { struct
43 using promise_type = B*;
46 struct coroutine_traits<::C> { struct
47 using promise_type = void;
/external/clang/test/SemaCXX/
Dcoroutines.cpp31 struct std::coroutine_traits<coro<Promise>, Ps...> { struct in std
36 …a; // expected-error {{implicit instantiation of undefined template 'std::coroutine_traits<void>'}} in no_specialization()
39 template<typename ...T> struct std::coroutine_traits<int, T...> {}; struct in std
45 template<> struct std::coroutine_traits<double, double> { typedef int promise_type; };
50 template<> struct std::coroutine_traits<double, int> { struct in std
54 …co_yield 0; // expected-error {{no member named 'yield_value' in 'std::coroutine_traits<double, in… in bad_promise_type_2()
58 template<typename ...T> struct std::coroutine_traits<void, T...> { using promise_type = promise; };
186 template<> struct std::coroutine_traits<void, yield_fn_tag> { struct in std
187 struct promise_type {