Go to the source code of this file.
|
| | STAT_COUNTER (NumFunctionTopLevel, "The # of functions at top level.") |
| | ALWAYS_ENABLED_STATISTIC (NumFunctionsAnalyzed, "The # of functions and blocks analyzed (as top level " "with inlining turned on).") |
| | ALWAYS_ENABLED_STATISTIC (NumFunctionsAnalyzedSyntaxOnly, "The # of functions analyzed by syntax checkers only.") |
| | ALWAYS_ENABLED_STATISTIC (NumBlocksInAnalyzedFunctions, "The # of basic blocks in the analyzed functions.") |
| | ALWAYS_ENABLED_STATISTIC (NumVisitedBlocksInAnalyzedFunctions, "The # of visited basic blocks in the analyzed functions.") |
| | ALWAYS_ENABLED_STATISTIC (PercentReachableBlocks, "The % of reachable basic blocks.") |
| | ALWAYS_ENABLED_STATISTIC (MaxCFGSize, "The maximum number of basic blocks in a function.") |
| static bool | shouldSkipFunction (const Decl *D, const SetOfConstDecls &Visited, const SetOfConstDecls &VisitedAsTopLevel) |
| static bool | fileContainsString (StringRef Substring, ASTContext &C) |
| static void | reportAnalyzerFunctionMisuse (const AnalyzerOptions &Opts, const ASTContext &Ctx) |
◆ ANALYSIS_CONSTRAINTS
| #define ANALYSIS_CONSTRAINTS |
( |
| NAME, |
|
|
| CMDFLAG, |
|
|
| DESC, |
|
|
| CREATEFN ) |
Value: case NAME##Model: CreateConstraintMgr = CREATEFN; break;
◆ ANALYSIS_DIAGNOSTICS
| #define ANALYSIS_DIAGNOSTICS |
( |
| NAME, |
|
|
| CMDFLAG, |
|
|
| DESC, |
|
|
| CREATEFN ) |
Value: case PD_##NAME: \
CREATEFN(Opts.getDiagOpts(), PathConsumers, OutDir, PP, CTU, \
MacroExpansions); \
break;
◆ DEBUG_TYPE
| #define DEBUG_TYPE "AnalysisConsumer" |
◆ ALWAYS_ENABLED_STATISTIC() [1/6]
| ALWAYS_ENABLED_STATISTIC |
( |
MaxCFGSize | , |
|
|
"The maximum number of basic blocks in a function." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [2/6]
| ALWAYS_ENABLED_STATISTIC |
( |
NumBlocksInAnalyzedFunctions | , |
|
|
"The # of basic blocks in the analyzed functions." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [3/6]
| ALWAYS_ENABLED_STATISTIC |
( |
NumFunctionsAnalyzed | , |
|
|
"The # of functions and blocks analyzed (as top level " "with inlining turned on)." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [4/6]
| ALWAYS_ENABLED_STATISTIC |
( |
NumFunctionsAnalyzedSyntaxOnly | , |
|
|
"The # of functions analyzed by syntax checkers only." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [5/6]
| ALWAYS_ENABLED_STATISTIC |
( |
NumVisitedBlocksInAnalyzedFunctions | , |
|
|
"The # of visited basic blocks in the analyzed functions." | ) |
◆ ALWAYS_ENABLED_STATISTIC() [6/6]
| ALWAYS_ENABLED_STATISTIC |
( |
PercentReachableBlocks | , |
|
|
"The % of reachable basic blocks." | ) |
◆ fileContainsString()
◆ reportAnalyzerFunctionMisuse()
◆ shouldSkipFunction()
◆ STAT_COUNTER()
| STAT_COUNTER |
( |
NumFunctionTopLevel | , |
|
|
"The # of functions at top level." | ) |
◆ CFGSize
◆ PathRunningTime
| UnsignedEPStat PathRunningTime("PathRunningTime") |
( |
"PathRunningTime" | | ) |
|
|
static |
◆ SyntaxRunningTime
| UnsignedEPStat SyntaxRunningTime("SyntaxRunningTime") |
( |
"SyntaxRunningTime" | | ) |
|
|
static |