зеркало из https://github.com/microsoft/clang-1.git
[analyzer] Stats: Only count the number of times we run path sensitive
analyzes. (This method can be called twice on the same function.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
d1f853d73d
Коммит
1f5171edc9
|
@ -430,10 +430,11 @@ 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++;
|
||||
}
|
||||
}
|
||||
NumFunctionsAnalyzed++;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Загрузка…
Ссылка в новой задаче