Go to the source code of this file.
|
| STATISTIC (NumFunctionTopLevel, "The # of functions at top level.") |
|
| STATISTIC (NumFunctionsAnalyzed, "The # of functions and blocks analyzed (as top level " "with inlining turned on).") |
|
| STATISTIC (NumBlocksInAnalyzedFunctions, "The # of basic blocks in the analyzed functions.") |
|
| STATISTIC (NumVisitedBlocksInAnalyzedFunctions, "The # of visited basic blocks in the analyzed functions.") |
|
| STATISTIC (PercentReachableBlocks, "The % of reachable basic blocks.") |
|
| 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 |
|
) |
| 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" |
◆ fileContainsString()
static bool fileContainsString |
( |
StringRef |
Substring, |
|
|
ASTContext & |
C |
|
) |
| |
|
static |
◆ reportAnalyzerFunctionMisuse()
◆ shouldSkipFunction()
◆ STATISTIC() [1/6]
STATISTIC |
( |
MaxCFGSize |
, |
|
|
"The maximum number of basic blocks in a function." |
|
|
) |
| |
◆ STATISTIC() [2/6]
STATISTIC |
( |
NumBlocksInAnalyzedFunctions |
, |
|
|
"The # of basic blocks in the analyzed functions." |
|
|
) |
| |
◆ STATISTIC() [3/6]
STATISTIC |
( |
NumFunctionsAnalyzed |
, |
|
|
"The # of functions and blocks analyzed (as top level " "with inlining turned on)." |
|
|
) |
| |
◆ STATISTIC() [4/6]
STATISTIC |
( |
NumFunctionTopLevel |
, |
|
|
"The # of functions at top level." |
|
|
) |
| |
◆ STATISTIC() [5/6]
STATISTIC |
( |
NumVisitedBlocksInAnalyzedFunctions |
, |
|
|
"The # of visited basic blocks in the analyzed functions." |
|
|
) |
| |
◆ STATISTIC() [6/6]
STATISTIC |
( |
PercentReachableBlocks |
, |
|
|
"The % of reachable basic blocks." |
|
|
) |
| |