diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-21 19:45:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-03-21 19:45:46 +0000 |
commit | 4c49f7b473b0158bb6e3534f70143132cc638ce8 (patch) | |
tree | 26f5b339cf9dce888eceeedff48dc17aa24936ba | |
parent | 7b79384718666da17dcd7f06d038708fc0528ec0 (diff) |
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
-rw-r--r-- | lib/Driver/ToolChain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |