diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-21 22:27:18 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-08-21 22:27:18 +0000 |
commit | 64621ea530234c031e99eebd6777cfa2e2909e42 (patch) | |
tree | 0035ce305f9c282fb306bf20351a2e2c6264a964 /clang/lib | |
parent | 27400e003ca729536405b7b7dbddb639bef346d1 (diff) | |
download | bcm5719-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.cpp | 1 |
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, |