From: Benjamin Kramer Date: Thu, 21 Mar 2013 19:45:46 +0000 (+0000) Subject: Avoid warnings from compilers that think you can drop off the end of a fully covered... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c49f7b473b0158bb6e3534f70143132cc638ce8;p=clang Avoid warnings from compilers that think you can drop off the end of a fully covered switch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177656 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChain.cpp b/lib/Driver/ToolChain.cpp index 59932f611e..b24de5d132 100644 --- a/lib/Driver/ToolChain.cpp +++ b/lib/Driver/ToolChain.cpp @@ -113,6 +113,8 @@ Tool *ToolChain::getTool(Action::ActionClass AC) const { case Action::MigrateJobClass: return getClang(); } + + llvm_unreachable("Invalid tool kind."); } Tool &ToolChain::SelectTool(const JobAction &JA) const {