mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-08 02:06:08 +00:00

Some compilers can't determine that all cases of the switch return (or are unreachable) and warn about control reaching end of non-void function. Explicitly mark with `llvm_unreachable`. Differential Revision: https://reviews.llvm.org/D135978