diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-07 01:03:17 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-07 01:03:17 +0000 |
commit | e1181f3ea0528ce917acf56da8b4278338ac34bf (patch) | |
tree | 75b2726701a3d37839a6a3928dfe09370396011a /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | c206d467092fceb60c17957d00ee65ea202b5134 (diff) | |
download | bcm5719-llvm-e1181f3ea0528ce917acf56da8b4278338ac34bf.tar.gz bcm5719-llvm-e1181f3ea0528ce917acf56da8b4278338ac34bf.zip |
[analyzer] Remove CallEnterNodeBuilder and simplify ExprEngine::processCallEnter().
This removes analysis of other translation units, but that was an experimental feature anyway that we will revisit later.
llvm-svn: 147705
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp index 2ab501a2677..c520cc1afa6 100644 --- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp @@ -1616,7 +1616,8 @@ bool ExprEngine::InlineCall(ExplodedNodeSet &Dst, const CallExpr *CE, const StackFrameContext *stackFrame = AMgr.getStackFrame(AMgr.getAnalysisDeclContext(FD), Pred->getLocationContext(), - CE, currentBuilderContext->getBlock(), currentStmtIdx); + CE, currentBuilderContext->getBlock(), + currentStmtIdx); // Now we have the definition of the callee, create a CallEnter node. CallEnter Loc(CE, stackFrame, Pred->getLocationContext()); |