Skip to content

Commit 3666cd0

Browse files
committed
[Coroutines] Make suspend_always in test noexcept (NFC)
1 parent f6ae8e8 commit 3666cd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/CodeGenCoroutines/Inputs/coroutine.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ template <typename Promise> struct coroutine_handle : coroutine_handle<> {
6767
}
6868

6969
struct suspend_always {
70-
bool await_ready() { return false; }
71-
void await_suspend(coroutine_handle<>) {}
72-
void await_resume() {}
70+
bool await_ready() noexcept { return false; }
71+
void await_suspend(coroutine_handle<>) noexcept {}
72+
void await_resume() noexcept {}
7373
};
7474
struct suspend_never {
7575
bool await_ready() noexcept { return true; }

0 commit comments

Comments
 (0)