summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-01-17 19:54:18 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-01-17 19:54:18 +0000
commit86b680a372e38161c4e33b0bf82f129820d9fbb7 (patch)
tree00e6038531b585e793ba5d9092bac912a4cb37eb /clang/lib/CodeGen/CodeGenModule.cpp
parent8eccb9bbb1e49823d59d2e85e40c6c793c2bb588 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud