We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ae8e8 commit 3666cd0Copy full SHA for 3666cd0
clang/test/CodeGenCoroutines/Inputs/coroutine.h
@@ -67,9 +67,9 @@ template <typename Promise> struct coroutine_handle : coroutine_handle<> {
67
}
68
69
struct suspend_always {
70
- bool await_ready() { return false; }
71
- void await_suspend(coroutine_handle<>) {}
72
- void await_resume() {}
+ bool await_ready() noexcept { return false; }
+ void await_suspend(coroutine_handle<>) noexcept {}
+ void await_resume() noexcept {}
73
};
74
struct suspend_never {
75
bool await_ready() noexcept { return true; }
0 commit comments