commit | bf5fc97eca006abbd8e099345b013b8ad10a59ea | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Tue Jan 17 19:54:18 2017 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Tue Jan 17 19:54:18 2017 +0000 |
tree | 73d63fd2754c48e8f84f418af3c98a4e373a65bc | |
parent | a7862537ba8ea9b9e836eeb9744c7de9713b0dfc [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292246 91177308-0d34-0410-b5e6-96231b3b80d8