Home
last modified time | relevance | path

Searched refs:coro_t (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dbool_await_suspend.pass.cpp22 struct coro_t { struct
24 coro_t get_return_object() { in get_return_object() argument
32 coro_t(coroutine_handle<promise_type> hh) : h(hh) {} in coro_t() argument
49 coro_t f() { in f() argument
56 coro_t g() { in g()
Dawait_result.pass.cpp19 struct coro_t { struct
21 coro_t get_return_object() { in get_return_object() argument
52 coro_t f(int n) { in f()
62 coro_t g() { B val = co_await B{}; } in g()
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dbool_await_suspend.pass.cpp21 struct coro_t { struct
23 coro_t get_return_object() { in get_return_object() argument
31 coro_t(coroutine_handle<promise_type> hh) : h(hh) {} in coro_t() argument
48 coro_t f() { in f() argument
55 coro_t g() { in g()
Dawait_result.pass.cpp18 struct coro_t { struct
20 coro_t get_return_object() { in get_return_object() argument
51 coro_t f(int n) { in f()
61 coro_t g() { B val = co_await B{}; } in g()
/external/llvm-project/clang/test/CodeGenCoroutines/
Dcoro-promise-dtor.cpp8 struct coro_t { struct
10 ~coro_t(); argument
12 coro_t get_return_object(); argument
25 coro_t f() { in f()
Dcoro-unhandled-exception.cpp13 struct coro_t { struct
15 coro_t get_return_object() { in get_return_object() argument
29 coro_t f() { in f()
Dcoro-eh-cleanup.cpp29 struct coro_t { struct
31 coro_t get_return_object() noexcept; argument
42 coro_t f() { in f()
/external/llvm-project/clang/test/SemaCXX/
Dcoroutine-uninitialized-warning-crash.cpp15 struct coro_t { struct
17 coro_t get_return_object() { return {}; } in get_return_object() argument
26 coro_t f(int n) { in f()
34 coro_t g(int n) { in g()
Dcoroutine-final-suspend-noexcept.cpp49 struct coro_t { struct
51 coro_t get_return_object(); argument
59 coro_t f(int n) { // expected-error {{the expression 'co_await __promise.final_suspend()' is requir… in f()
65 coro_t f_dep(T n) { // expected-error {{the expression 'co_await __promise.final_suspend()' is requ… in f_dep()
/external/llvm-project/clang/test/AST/
Dcoroutine-source-location-crash.cpp23 struct coro_t { struct
25 coro_t get_return_object(); argument
35 coro_t f(int n) { in f()