[NFC] use llvm_unreachable instead of return on switch which all cases are covered.
authorXiang Li <python3kgae@outlook.com>
Tue, 18 Oct 2022 00:47:48 +0000 (17:47 -0700)
committerXiang Li <python3kgae@outlook.com>
Tue, 18 Oct 2022 00:47:48 +0000 (17:47 -0700)
commit3a671c8e91c04a3288357f088adcd364a6cd6b22
tree7168ec6acc687e93f51c95ac8e5f0bd4f950401b
parentdd5c5f72e00dca0e2458139fec09b1a715cfb238
[NFC] use llvm_unreachable instead of return on switch which all cases are covered.
clang/lib/CodeGen/CGHLSLRuntime.cpp