diff options
author | Jordy Rose <jediknil@belkadan.com> | 2011-08-28 06:02:28 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2011-08-28 06:02:28 +0000 |
commit | e9ff97b850b71d1fda78f9e0a9ddf24d42de7aee (patch) | |
tree | 199b052e6a18868e8a8c9c5286b17d7234ef2a5f /clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | |
parent | d26e9e7f7c4624c631de735a89a324d97927b7fa (diff) | |
download | bcm5719-llvm-e9ff97b850b71d1fda78f9e0a9ddf24d42de7aee.tar.gz bcm5719-llvm-e9ff97b850b71d1fda78f9e0a9ddf24d42de7aee.zip |
[analyzer] Remove the ProgramState argument from ExprEngine::evalBind; we were ignoring it anyway. No functionality change.
llvm-svn: 138720
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp index a4e640c0e98..47debad09c3 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp @@ -361,8 +361,7 @@ void ExprEngine::VisitDeclStmt(const DeclStmt *DS, ExplodedNode *Pred, Builder->getCurrentBlockCount()); } - evalBind(Dst, DS, N, state, - loc::MemRegionVal(state->getRegion(VD, LC)), InitVal, true); + evalBind(Dst, DS, N, state->getLValue(VD, LC), InitVal, true); } else { MakeNode(Dst, DS, N, state->bindDeclWithNoInit(state->getRegion(VD, LC))); |