Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-41994 [C++]: kernel.cc: Remove defaults on switch so that co…
…mpiler can check full enum coverage for us (apache#41995) ### Rationale for this change To let the compiler warn us about missing cases and make the non-handled cases more obvious. ### What changes are included in this PR? Removal of `default` in the switches and improving some dchecks with a message. ### Are these changes tested? By existing tests. * GitHub Issue: apache#41994 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
- Loading branch information