diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:50:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:50:17 +0000 |
commit | e4d798f07897a6378d0f2588e4c2335ec85ca935 (patch) | |
tree | 6f31c0fc2740ae77aa711c1f9da94a19d825af98 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | f2a2f5f2bfe9da1a3e0a25934d833956b04bb8a5 (diff) | |
download | bcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.tar.gz bcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.zip |
More dead code removal (using -Wunreachable-code)
llvm-svn: 148577
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp index a48d69abc11..4ccc26c1b03 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp @@ -211,8 +211,6 @@ void ExprEngine::processCFGElement(const CFGElement E, ExplodedNode *Pred, ProcessImplicitDtor(*E.getAs<CFGImplicitDtor>(), Pred); return; } - currentStmtIdx = 0; - currentBuilderContext = 0; } static bool shouldRemoveDeadBindings(AnalysisManager &AMgr, @@ -529,7 +527,6 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred, case Stmt::WhileStmtClass: case Expr::MSDependentExistsStmtClass: llvm_unreachable("Stmt should not be in analyzer evaluation loop"); - break; case Stmt::GNUNullExprClass: { // GNU __null is a pointer-width integer, not an actual pointer. |