s-barannikov wrote: I mean the fix could be as simple as: ```C++ switch (...) { } #ifdef _MSC_VER llvm_unreachable("happify MSVC"); #endif ``` and remove the `default` label. https://github.com/llvm/llvm-project/pull/194728