forked from OSchip/llvm-project
[analyzer] Stats: Only count the number of times we run path sensitive
analyzes. (This method can be called twice on the same function.) llvm-svn: 153531
This commit is contained in:
parent
8b6d051ea2
commit
23df6bb18f
|
@ -430,11 +430,12 @@ void AnalysisConsumer::HandleCode(Decl *D, AnalysisMode Mode,
|
|||
if ((*WI)->hasBody()) {
|
||||
if (Mode != ANALYSIS_PATH)
|
||||
checkerMgr->runCheckersOnASTBody(*WI, *Mgr, BR);
|
||||
if (Mode != ANALYSIS_SYNTAX && checkerMgr->hasPathSensitiveCheckers())
|
||||
if (Mode != ANALYSIS_SYNTAX && checkerMgr->hasPathSensitiveCheckers()) {
|
||||
RunPathSensitiveChecks(*WI, VisitedCallees);
|
||||
}
|
||||
NumFunctionsAnalyzed++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Path-sensitive checking.
|
||||
|
|
Loading…
Reference in New Issue