summaryrefslogtreecommitdiffstats
path: root/clang/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
commit64621ea530234c031e99eebd6777cfa2e2909e42 (patch)
tree0035ce305f9c282fb306bf20351a2e2c6264a964 /clang/lib
parent27400e003ca729536405b7b7dbddb639bef346d1 (diff)
downloadbcm5719-llvm-64621ea530234c031e99eebd6777cfa2e2909e42.tar.gz
bcm5719-llvm-64621ea530234c031e99eebd6777cfa2e2909e42.zip
Add an llvm_unreachable to pacify GCC's -Wreturn-type.
llvm-svn: 162325
Diffstat (limited to 'clang/lib')
-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