Skip to content
Snippets Groups Projects
Commit 4c49f7b4 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

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
parent 7b793847
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,8 @@ Tool *ToolChain::getTool(Action::ActionClass AC) const { ...@@ -113,6 +113,8 @@ Tool *ToolChain::getTool(Action::ActionClass AC) const {
case Action::MigrateJobClass: case Action::MigrateJobClass:
return getClang(); return getClang();
} }
llvm_unreachable("Invalid tool kind.");
} }
Tool &ToolChain::SelectTool(const JobAction &JA) const { Tool &ToolChain::SelectTool(const JobAction &JA) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment