14 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_RETAINCOUNTCHECKER_DIAGNOSTICS_H
15 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_RETAINCOUNTCHECKER_DIAGNOSTICS_H
25 namespace retaincountchecker {
71 const MemRegion *AllocFirstBinding =
nullptr;
72 const MemRegion *AllocBindingToReport =
nullptr;
73 const Stmt *AllocStmt =
nullptr;
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Stmt - This represents one statement.
This wrapper is used to ensure that only StringRefs originating from the CheckerRegistry are used as ...
MemRegion - The root abstract class for all memory regions.
PathDiagnosticLocation getLocation() const override
The primary location of the bug report that points at the undesirable behavior in the code.
ArrayRef< SourceRange > getRanges() const override
Get the SourceRanges associated with the report.
RefCountBug(CheckerNameRef Checker, RefCountBugKind BT)
StringRef getDescription() const
RefCountBugKind getBugType() const
RefCountReport(const RefCountBug &D, const LangOptions &LOpts, ExplodedNode *n, SymbolRef sym, bool isLeak=false)
ArrayRef< SourceRange > getRanges() const override
Get the SourceRanges associated with the report.
PathDiagnosticLocation getLocation() const override
The primary location of the bug report that points at the undesirable behavior in the code.
RefLeakReport(const RefCountBug &D, const LangOptions &LOpts, ExplodedNode *n, SymbolRef sym, CheckerContext &Ctx)
PathDiagnosticLocation getEndOfPath() const
The JSON file list parser is used to communicate input to InstallAPI.