Home
last modified time | relevance | path

Searched defs:suspend_always (Results 1 – 21 of 21) sorted by relevance

/llvm-project/libcxx/include/__coroutine/
H A Dtrivial_awaitables.h30 struct suspend_always { struct
31 _LIBCPP_HIDE_FROM_ABI constexpr bool await_ready() const noexcept { return false; } in await_ready()
32 _LIBCPP_HIDE_FROM_ABI constexpr void await_suspend(coroutine_handle<>) const noexcept {} in await_suspend()
33 _LIBCPP_HIDE_FROM_ABI constexpr void await_resume() const noexcept {} in await_resume()
/llvm-project/clang/test/SemaCXX/
H A Dcoroutine-alloc-2.cpp22 struct suspend_always { struct
41 std::suspend_always initial_suspend() { return {}; } in initial_suspend()
H A Dcoroutine-alloc-3.cpp22 struct suspend_always { struct
41 std::suspend_always initial_suspend() { return {}; } in initial_suspend()
H A Dcoroutine-final-suspend-noexcept.cpp23 struct suspend_always { struct
24 bool await_ready() { return false; } // expected-note 2 {{must be declared with 'noexcept'}} in await_ready()
25 void await_suspend(coroutine_handle<>) {} // expected-note 2 {{must be declared with 'noexcept'}} in await_suspend()
26 void await_resume() {} // expected-note 2 {{must be declared with 'noexcept'}} in await_resume()
H A Dcoroutine-seh.cpp17 struct suspend_always { struct
H A Dthread-safety-coro.cpp24 struct suspend_always { struct
H A Dcoroutines.cpp61 struct suspend_always { global() struct
62 await_readysuspend_always await_ready() argument
65 await_resumesuspend_always await_resume() argument
1471 co_await suspend_always{}; warn_always_inline() local
1476 co_await suspend_always{}; warn_gnu_always_inline() local
[all...]
/llvm-project/clang/test/CodeGenCoroutines/
H A Dcoro-cleanup.cpp20 struct suspend_always { struct
101 co_await suspend_always{}; in g() local
H A Dcoro-await.cpp35 struct suspend_always { struct
63 co_await suspend_always{}; in f0() local
285 co_await suspend_always{}; in EndlessLoop() local
36 stuffsuspend_always global() argument
H A Dcoro-attributes.cpp21 co_await suspend_always{}; in foo() local
H A Dcoro-eh-cleanup.cpp23 struct suspend_always { struct
H A Dcoro-return.cpp18 struct suspend_always { struct
H A Dcoro-alloc.cpp35 struct suspend_always { struct
47 suspend_always initial_suspend() { return {}; } in initial_suspend() argument
H A Dcoro-lambda.cpp22 struct suspend_always { struct
H A Dcoro-dwarf.cpp21 struct suspend_always { struct
H A Dcoro-params.cpp22 struct suspend_always { struct
/llvm-project/clang/test/CoverageMapping/
H A Dcoroutine.cpp21 struct suspend_always { struct
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dcoroutine-hostile-raii.cpp59 struct suspend_always { struct
69 std::suspend_always initial_suspend() { return {}; } in initial_suspend()
/llvm-project/clang/test/PCH/
H A Dcoroutines.cpp26 struct suspend_always { struct
/llvm-project/clang/test/CodeGenCXX/
H A Dubsan-coroutines.cpp23 struct suspend_always { struct
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dexception-escape-coro.cpp23 struct suspend_always { struct
24 bool await_ready() noexcept { return false; } in await_ready()
25 void await_suspend(coroutine_handle<>) noexcept {} in await_suspend()
26 void await_resume() noexcept {} in await_resume()