projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd576f
)
Avoid warnings from compilers that think you can drop off the end of a fully covered...
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 21 Mar 2013 19:45:46 +0000
(19:45 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 21 Mar 2013 19:45:46 +0000
(19:45 +0000)
llvm-svn: 177656
clang/lib/Driver/ToolChain.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChain.cpp
b/clang/lib/Driver/ToolChain.cpp
index
59932f6
..
b24de5d
100644
(file)
--- a/
clang/lib/Driver/ToolChain.cpp
+++ b/
clang/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 {