diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-01-17 19:54:18 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-01-17 19:54:18 +0000 |
commit | 86b680a372e38161c4e33b0bf82f129820d9fbb7 (patch) | |
tree | 00e6038531b585e793ba5d9092bac912a4cb37eb /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8eccb9bbb1e49823d59d2e85e40c6c793c2bb588 (diff) | |
download | bcm5719-llvm-86b680a372e38161c4e33b0bf82f129820d9fbb7.tar.gz bcm5719-llvm-86b680a372e38161c4e33b0bf82f129820d9fbb7.zip |
[TLI] Appease spurious MSVC warning using llvm_unreachable. NFC.
r292188 confused MSVC because of the combined lack of a default
case and return statement.
Move the unreachable outside of the NumLibFuncs case, to make it
obvious that all cases should be handled.
llvm_unreachable is __declspec(noreturn), so I'm assuming this
does appease MSVC.
llvm-svn: 292246
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions