summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
index 62e93b132e0..c96df207ee4 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud