Skip to content

Commit 3191587

Browse files
[Coroutines] Fix a warning
This patch fixes: llvm/lib/Transforms/Coroutines/Coroutines.cpp:475:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
1 parent ac66469 commit 3191587

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/Coroutines/Coroutines.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,6 @@ void coro::Shape::initABI() {
472472
}
473473
break;
474474
}
475-
default:
476-
llvm_unreachable("coro.begin is not dependent on a coro.id call");
477475
}
478476
}
479477

0 commit comments

Comments
 (0)