[clang][dataflow][NFC] Fix reachability warning.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 14 Oct 2022 18:33:02 +0000 (18:33 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 14 Oct 2022 19:35:11 +0000 (19:35 +0000)
commit7da087974f9491855eea0087c657851a84c67b75
tree862cdea8098ac2aa05fb9f181d7a8de4a31ff238
parent037f856681268c793c660389b4d6407367e68190
[clang][dataflow][NFC] Fix reachability warning.

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
clang/lib/Analysis/FlowSensitive/Transfer.cpp