aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-08-21 22:27:18 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-08-21 22:27:18 +0000
commit12e2fb0db76ca2705ce5169e04d9cd52762fc685 (patch)
treeafc16a0e869c85f6c47e79c823059038e45ade12 /lib
parent21db19915aebd997f979279e755d932bb981eb43 (diff)
Add an llvm_unreachable to pacify GCC's -Wreturn-type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
index 62e93b132e..c96df207ee 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
@@ -315,6 +315,7 @@ static bool shouldInlineCXX(AnalysisManager &AMgr) {
case NumIPAModes:
llvm_unreachable("not actually a valid option");
}
+ llvm_unreachable("bogus IPAMode");
}
bool ExprEngine::inlineCall(const CallEvent &Call, const Decl *D,