Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:co_await

22   co_await a; // expected-error {{need to include <coroutine>}}
36 co_await a; // expected-error {{implicit instantiation of undefined template 'std::coroutine_traits<void>'}}
42 co_await a; // expected-error {{this function cannot be a coroutine: 'std::coroutine_traits<int>' has no member named 'promise_type'}}
47 co_await a; // expected-error {{this function cannot be a coroutine: 'std::coroutine_traits<double, double>::promise_type' (aka 'int') is not a class}}
64 co_await a;
94 co_await a;
110 co_await a; // expected-note {{use of 'co_await'}}
115 co_return; // expected-warning {{'co_return' used in a function that uses neither 'co_await' nor 'co_yield'}}
132 co_await a; // expected-error {{'co_await' cannot be used in a constructor}}
144 decltype(co_await a); // expected-error {{cannot be used in an unevaluated context}}
145 sizeof(co_await a); // expected-error {{cannot be used in an unevaluated context}}
146 typeid(co_await a); // expected-error {{cannot be used in an unevaluated context}}
157 co_await a; // expected-error {{'co_await' cannot be used in a varargs function}}
165 co_await t; // expected-error {{no member named 'await_ready' in 'dependent_operator_co_await_lookup::not_awaitable'}}
166 // expected-error@-1 {{call to function 'operator co_await' that is neither visible in the template definition nor found by argument-dependent lookup}}
171 awaitable operator co_await(indirectly_awaitable); // expected-note {{should be declared prior to}}
179 co_await t;
202 co_await f; // expected-error {{reference to overloaded function}}
208 co_await a;
213 co_await f; // expected-error {{reference to overloaded function}}
219 co_await a;
229 co_await a;
238 co_await a;
247 co_await a;
257 co_await a;
267 co_await a;