HomeSort by relevance Sort by last modified time
    Searched refs:co_await (Results 1 - 3 of 3) sorted by null

  /external/clang/test/Parser/
cxx1z-coroutines.cpp 5 co_await t;
8 1 + co_await t;
11 auto x = co_await t;
14 for co_await (int x : t) {}
15 for co_await (int x = 0; x != 10; ++x) {} // expected-error {{'co_await' modifier can only be applied to range-based for loop}}
24 struct X { Y operator co_await(); };
26 Y operator co_await(Z);
29 x.operator co_await();
30 operator co_await(z)
    [all...]
  /external/clang/test/SemaCXX/
coroutines.cpp 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}
    [all...]
  /external/clang/test/Lexer/
coroutines.cpp 10 CORO_KEYWORD(co_await); variable

Completed in 649 milliseconds