Home
last modified time | relevance | path

Searched refs:coroutine_handle (Results 1 – 25 of 140) sorted by relevance

123456

/llvm-project-15.0.7/libcxx/include/experimental/
H A Dcoroutine27 class coroutine_handle;
29 bool operator==(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
30 bool operator!=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
31 bool operator<(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
32 bool operator<=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
33 bool operator>=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
34 bool operator>(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
172 bool operator<(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
176 bool operator>(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
189 class _LIBCPP_TEMPLATE_VIS coroutine_handle : public coroutine_handle<> {
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCoroutines/Inputs/
H A Dcoroutine.h12 template <> struct coroutine_handle<void> {
14 coroutine_handle me;
23 coroutine_handle &operator=(decltype(nullptr)) {
28 coroutine_handle() : ptr(nullptr) {}
36 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
37 using coroutine_handle<>::operator=;
40 coroutine_handle me;
50 coroutine_handle p;
71 struct coroutine_handle<noop_coroutine_promise> {
72 operator coroutine_handle<>() const noexcept {
[all …]
H A Dcoroutine-exp-namespace.h11 template <typename Promise = void> struct coroutine_handle;
13 template <> struct coroutine_handle<void> {
15 coroutine_handle me;
24 coroutine_handle &operator=(decltype(nullptr)) {
29 coroutine_handle() : ptr(nullptr) {}
37 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
38 using coroutine_handle<>::operator=;
41 coroutine_handle me;
51 coroutine_handle p;
71 void await_suspend(coroutine_handle<>) {}
[all …]
/llvm-project-15.0.7/libcxx/include/__coroutine/
H A Dcoroutine_handle.h29 struct _LIBCPP_TEMPLATE_VIS coroutine_handle; variable
32 struct _LIBCPP_TEMPLATE_VIS coroutine_handle<void> {
36 constexpr coroutine_handle() noexcept = default;
39 constexpr coroutine_handle(nullptr_t) noexcept {}
53 coroutine_handle __tmp;
98 constexpr bool operator==(coroutine_handle<> __x, coroutine_handle<> __y) noexcept {
102 constexpr strong_ordering operator<=>(coroutine_handle<> __x, coroutine_handle<> __y) noexcept {
107 struct _LIBCPP_TEMPLATE_VIS coroutine_handle {
119 coroutine_handle __tmp;
137 coroutine_handle __tmp;
[all …]
/llvm-project-15.0.7/clang/test/AST/Inputs/
H A Dstd-coroutine.h13 template <> struct coroutine_handle<void> {
15 coroutine_handle me;
24 coroutine_handle &operator=(decltype(nullptr)) {
28 coroutine_handle(decltype(nullptr)) : ptr(nullptr) {}
29 coroutine_handle() : ptr(nullptr) {}
37 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
38 using coroutine_handle<>::operator=;
41 coroutine_handle me;
51 coroutine_handle p;
59 void await_suspend(coroutine_handle<>) {}
[all …]
H A Dstd-coroutine-exp-namespace.h13 template <> struct coroutine_handle<void> {
15 coroutine_handle me;
24 coroutine_handle &operator=(decltype(nullptr)) {
28 coroutine_handle(decltype(nullptr)) : ptr(nullptr) {}
29 coroutine_handle() : ptr(nullptr) {}
37 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
38 using coroutine_handle<>::operator=;
41 coroutine_handle me;
51 coroutine_handle p;
59 void await_suspend(coroutine_handle<>) {}
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dubsan-coroutines.cpp10 template <class Promise = void> struct coroutine_handle;
11 template <> struct coroutine_handle<void> { struct
12 static coroutine_handle from_address(void *) noexcept;
13 coroutine_handle() = default;
15 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
17 template <class Promise> struct coroutine_handle : coroutine_handle<void> { struct
18 coroutine_handle() = default;
19 static coroutine_handle from_address(void *) noexcept;
25 void await_suspend(std::coroutine_handle<>) noexcept;
42 bool await_suspend(std::coroutine_handle<> awaiter) { return false; } in await_suspend()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcoroutine_handle-address-return-type.cpp5 struct coroutine_handle;
8 struct coroutine_handle<void> { struct
9 coroutine_handle() = default;
10 static coroutine_handle from_address(void *) noexcept;
15 struct coroutine_handle : public coroutine_handle<> { struct
39 void await_suspend(std::coroutine_handle<>) noexcept;
55 struct coroutine_handle<task::promise_type> : public coroutine_handle<> { struct
56coroutine_handle<task::promise_type> *address() const; // expected-warning {{return type of 'corou…
63 std::coroutine_handle<task::promise_type>
64 await_suspend(std::coroutine_handle<> handle);
H A Dcoroutine_handle-address-return-type-exp-namespace.cpp5 struct coroutine_handle;
8 struct coroutine_handle<void> { struct
9 coroutine_handle() = default;
10 static coroutine_handle from_address(void *) noexcept;
15 struct coroutine_handle : public coroutine_handle<> { struct
40 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
56 struct coroutine_handle<task::promise_type> : public coroutine_handle<> { struct
57coroutine_handle<task::promise_type> *address() const; // expected-warning {{return type of 'corou…
64 std::experimental::coroutine_handle<task::promise_type>
65 await_suspend(std::experimental::coroutine_handle<> handle);
H A Dcoroutine-seh.cpp5 template <class Promise = void> struct coroutine_handle { struct
6 coroutine_handle() = default;
7 static coroutine_handle from_address(void *) noexcept;
9 template <> struct coroutine_handle<void> { struct
10 static coroutine_handle from_address(void *) noexcept;
11 coroutine_handle() = default;
13 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
19 void await_suspend(std::coroutine_handle<>) noexcept;
H A Dcoroutine-seh-exp-namespace.cpp6 template <class Promise = void> struct coroutine_handle { struct
7 coroutine_handle() = default;
8 static coroutine_handle from_address(void *) noexcept;
10 template <> struct coroutine_handle<void> { struct
11 static coroutine_handle from_address(void *) noexcept;
12 coroutine_handle() = default;
14 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
20 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
/llvm-project-15.0.7/clang/test/CodeGenCoroutines/
H A Dcoro-eh-cleanup.cpp9 template <class Promise = void> struct coroutine_handle;
11 template <> struct coroutine_handle<void> { struct
12 static coroutine_handle from_address(void *) noexcept;
13 coroutine_handle() = default;
15 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
17 template <class Promise> struct coroutine_handle: coroutine_handle<void> { struct
18 coroutine_handle() = default;
19 static coroutine_handle from_address(void *) noexcept;
25 void await_suspend(std::coroutine_handle<>) noexcept;
H A Dcoro-eh-cleanup-exp-namespace.cpp9 template <class Promise = void> struct coroutine_handle;
11 template <> struct coroutine_handle<void> { struct
12 static coroutine_handle from_address(void *) noexcept;
13 coroutine_handle() = default;
15 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
17 template <class Promise> struct coroutine_handle : coroutine_handle<void> { struct
18 coroutine_handle() = default;
19 static coroutine_handle from_address(void *) noexcept;
25 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
H A Dcoro-lambda-exp-namespace.cpp9 template <class Promise = void> struct coroutine_handle;
10 template <> struct coroutine_handle<void> { struct
11 static coroutine_handle from_address(void *) noexcept;
12 coroutine_handle() = default;
14 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
16 template <class Promise> struct coroutine_handle : coroutine_handle<void> { struct
17 coroutine_handle() = default;
18 static coroutine_handle from_address(void *) noexcept;
24 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
H A Dcoro-lambda.cpp9 template <class Promise = void> struct coroutine_handle;
10 template <> struct coroutine_handle<void> { struct
11 static coroutine_handle from_address(void *) noexcept;
12 coroutine_handle() = default;
14 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
16 template <class Promise> struct coroutine_handle : coroutine_handle<void> { struct
17 coroutine_handle() = default;
18 static coroutine_handle from_address(void *) noexcept;
24 void await_suspend(std::coroutine_handle<>) noexcept;
H A Dcoro-return-voidtype-initlist.cpp11 struct coroutine_handle;
13 struct coroutine_handle<> {}; struct
15 struct coroutine_handle : coroutine_handle<> { struct
16 static coroutine_handle from_address(void *) noexcept;
20 void await_suspend(coroutine_handle<>);
32 void await_suspend(std::coroutine_handle<al>) noexcept;
46 k(std::coroutine_handle<>);
52 std::coroutine_handle<> ar;
55 l(std::coroutine_handle<> m) : at(m) {} in l()
56 void await_suspend(std::coroutine_handle<>);
[all …]
H A Dcoro-return.cpp6 template <class Promise = void> struct coroutine_handle { struct
7 coroutine_handle() = default;
8 static coroutine_handle from_address(void *) noexcept { return {}; } in from_address()
10 template <> struct coroutine_handle<void> { struct
11 static coroutine_handle from_address(void *) { return {}; } in from_address()
12 coroutine_handle() = default;
14 coroutine_handle(coroutine_handle<PromiseType>) noexcept {} in coroutine_handle() function
20 void await_suspend(std::coroutine_handle<>) noexcept; argument
H A Dcoro-await.cpp8 template <typename Promise = void> struct coroutine_handle;
11 struct coroutine_handle<void> { struct
13 static coroutine_handle from_address(void *);
18 struct coroutine_handle : coroutine_handle<> { struct
19 static coroutine_handle from_address(void *) noexcept;
26 void await_suspend(std::coroutine_handle<>); argument
31 void await_suspend(std::coroutine_handle<>) noexcept;
38 void await_suspend(std::coroutine_handle<>);
110 bool await_suspend(std::coroutine_handle<>);
287 void await_suspend(std::coroutine_handle<>);
[all …]
H A Dcoro-return-exp-namespace.cpp6 template <class Promise = void> struct coroutine_handle { struct
7 coroutine_handle() = default;
8 static coroutine_handle from_address(void *) noexcept { return {}; } in from_address()
10 template <> struct coroutine_handle<void> { struct
11 static coroutine_handle from_address(void *) { return {}; } in from_address()
12 coroutine_handle() = default;
14 coroutine_handle(coroutine_handle<PromiseType>) noexcept {} in coroutine_handle() function
20 void await_suspend(std::experimental::coroutine_handle<>) noexcept; argument
H A Dcoro-return-voidtype-initlist-exp-namespace.cpp12 struct coroutine_handle;
14 struct coroutine_handle<> {}; struct
16 struct coroutine_handle : coroutine_handle<> { struct
17 static coroutine_handle from_address(void *) noexcept;
21 void await_suspend(coroutine_handle<>);
34 void await_suspend(std::experimental::coroutine_handle<al>) noexcept;
48 k(std::experimental::coroutine_handle<>);
54 std::experimental::coroutine_handle<> ar;
57 l(std::experimental::coroutine_handle<> m) : at(m) {} in l()
58 void await_suspend(std::experimental::coroutine_handle<>);
[all …]
H A Dcoro-cleanup-exp-namespace.cpp7 template <class Promise = void> struct coroutine_handle { struct
8 coroutine_handle() = default;
9 static coroutine_handle from_address(void *) noexcept;
11 template <> struct coroutine_handle<void> { struct
12 static coroutine_handle from_address(void *) noexcept;
13 coroutine_handle() = default;
15 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
21 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
H A Dcoro-gro.cpp8 template <class Promise = void> struct coroutine_handle { struct
9 coroutine_handle() = default;
10 static coroutine_handle from_address(void *) noexcept;
12 template <> struct coroutine_handle<void> { struct
13 static coroutine_handle from_address(void *) noexcept;
14 coroutine_handle() = default;
16 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
22 void await_suspend(std::coroutine_handle<>) noexcept;
H A Dcoro-cleanup.cpp7 template <class Promise = void> struct coroutine_handle { struct
8 coroutine_handle() = default;
9 static coroutine_handle from_address(void *) noexcept;
11 template <> struct coroutine_handle<void> { struct
12 static coroutine_handle from_address(void *) noexcept;
13 coroutine_handle() = default;
15 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
21 void await_suspend(std::coroutine_handle<>) noexcept;
H A Dcoro-gro-exp-namespace.cpp8 template <class Promise = void> struct coroutine_handle { struct
9 coroutine_handle() = default;
10 static coroutine_handle from_address(void *) noexcept;
12 template <> struct coroutine_handle<void> { struct
13 static coroutine_handle from_address(void *) noexcept;
14 coroutine_handle() = default;
16 coroutine_handle(coroutine_handle<PromiseType>) noexcept;
22 void await_suspend(std::experimental::coroutine_handle<>) noexcept;
/llvm-project-15.0.7/clang/test/CoverageMapping/
H A Dcoroutine.cpp8 struct coroutine_handle { struct
9 coroutine_handle() = default;
10 static coroutine_handle from_address(void *) noexcept { return {}; } in from_address()
13 struct coroutine_handle<void> { struct
14 static coroutine_handle from_address(void *) { return {}; } in from_address()
15 coroutine_handle() = default;
17 coroutine_handle(coroutine_handle<PromiseType>) noexcept {} in coroutine_handle() function
23 void await_suspend(std::coroutine_handle<>) noexcept; argument

123456