| /llvm-project-15.0.7/libcxx/include/experimental/ |
| H A D | coroutine | 27 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 D | coroutine.h | 12 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 D | coroutine-exp-namespace.h | 11 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 D | coroutine_handle.h | 29 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 D | std-coroutine.h | 13 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 D | std-coroutine-exp-namespace.h | 13 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 D | ubsan-coroutines.cpp | 10 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 D | coroutine_handle-address-return-type.cpp | 5 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 56 …coroutine_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 D | coroutine_handle-address-return-type-exp-namespace.cpp | 5 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 57 …coroutine_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 D | coroutine-seh.cpp | 5 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 D | coroutine-seh-exp-namespace.cpp | 6 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 D | coro-eh-cleanup.cpp | 9 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 D | coro-eh-cleanup-exp-namespace.cpp | 9 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 D | coro-lambda-exp-namespace.cpp | 9 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 D | coro-lambda.cpp | 9 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 D | coro-return-voidtype-initlist.cpp | 11 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 D | coro-return.cpp | 6 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 D | coro-await.cpp | 8 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 D | coro-return-exp-namespace.cpp | 6 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 D | coro-return-voidtype-initlist-exp-namespace.cpp | 12 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 D | coro-cleanup-exp-namespace.cpp | 7 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 D | coro-gro.cpp | 8 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 D | coro-cleanup.cpp | 7 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 D | coro-gro-exp-namespace.cpp | 8 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 D | coroutine.cpp | 8 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
|