diff options
| author | Reid Kleckner <rnk@google.com> | 2016-02-10 19:28:13 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2016-02-10 19:28:13 +0000 |
| commit | 257102e63d590f40201f206777548ec523bbe13c (patch) | |
| tree | 973d21ce2b19f32e969323adf0ed7d1c1549f88f /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | |
| parent | cf5414ee11825f2dcc2916fd615fc070b47f7851 (diff) | |
| download | bcm5719-llvm-257102e63d590f40201f206777548ec523bbe13c.tar.gz bcm5719-llvm-257102e63d590f40201f206777548ec523bbe13c.zip | |
Silence MSVC warning about falling off the end of a function after a fully covered switch
llvm-svn: 260417
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp index f3fbd5a9805..a46c5c27c23 100644 --- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp +++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp @@ -414,6 +414,7 @@ bool MachOLinkingContext::minOS(StringRef mac, StringRef iOS) const { // This matches the ld64 behaviour return false; } + llvm_unreachable("invalid OS enum"); } bool MachOLinkingContext::addEntryPointLoadCommand() const { |

