diff options
author | Anna Zaks <ganna@apple.com> | 2012-08-30 23:42:02 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-08-30 23:42:02 +0000 |
commit | a8017eca1afafbeb3705d53efebdc783b1bd9e14 (patch) | |
tree | b7fabdb8b730f20cadac686e533de60765e40a20 /clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | |
parent | cc61f87cf730fec6785dc492fb6c71bc17c8f56b (diff) | |
download | bcm5719-llvm-a8017eca1afafbeb3705d53efebdc783b1bd9e14.tar.gz bcm5719-llvm-a8017eca1afafbeb3705d53efebdc783b1bd9e14.zip |
[analyzer] Refactor the logic that determines if a functions should be
reanalyzed.
The policy on what to reanalyze should be in AnalysisConsumer with the
rest of visitation order logic.
There is no reason why ExprEngine needs to pass the Visited set to
CoreEngine, it can populate it itself.
llvm-svn: 162957
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/CoreEngine.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp index 1f137424d45..8b7eeef470c 100644 --- a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp @@ -243,11 +243,6 @@ void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, case ProgramPoint::CallEnterKind: { CallEnter CEnter = cast<CallEnter>(Loc); - if (AnalyzedCallees) - if (const CallExpr* CE = - dyn_cast_or_null<CallExpr>(CEnter.getCallExpr())) - if (const Decl *CD = CE->getCalleeDecl()) - AnalyzedCallees->insert(CD); SubEng.processCallEnter(CEnter, Pred); break; } |