class RefCountReport
Declaration
class RefCountReport : public PathSensitiveBugReport { /* full declaration omitted */ };
Description
This class provides an interface through which checkers can create individual bug reports.
Declared at: clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h:49
Inherits from: PathSensitiveBugReport
Member Variables
- protected clang::ento::SymbolRef Sym
- protected bool isLeak = false
Inherited from PathSensitiveBugReport:
- protected ErrorNode = nullptr
- protected ErrorNodeRange
- protected InterestingSymbols
- protected InterestingRegions
- protected InterestingLocationContexts
- protected Callbacks
- protected CallbacksSet
- protected DoNotPrunePath = false
- protected Invalidations
- protected TrackedConditions
- protected UniqueingLocation
- protected UniqueingDecl
- protected StackHints
Inherited from BugReport:
- protected K
- protected BT
- protected ShortDescription
- protected Description
- protected Ranges
- protected Notes
- protected Fixits
Method Overview
- public RefCountReport(const clang::ento::retaincountchecker::RefCountBug & D, const clang::LangOptions & LOpts, clang::ento::ExplodedNode * n, clang::ento::SymbolRef sym, bool isLeak = false)
- public RefCountReport(const clang::ento::retaincountchecker::RefCountBug & D, const clang::LangOptions & LOpts, clang::ento::ExplodedNode * n, clang::ento::SymbolRef sym, llvm::StringRef endText)
- public ArrayRef<clang::SourceRange> getRanges() const
Inherited from PathSensitiveBugReport:
- public Profile
- public addCallStackHint
- public addTrackedCondition
- public addVisitor
- public addVisitor
- public classof
- public clearVisitors
- public disablePathPruning
- public getCallStackMessage
- public getDeclWithIssue
- public getErrorNode
- public getInterestingnessKind
- public getInterestingnessKind
- public getInterestingnessKind
- public getLocation
- public getRanges
- protected getStmt
- public getUniqueingDecl
- public getUniqueingLocation
- public hasCallStackHint
- public isInteresting
- public isInteresting
- public isInteresting
- public isInteresting
- public isValid
- public markInteresting
- public markInteresting
- public markInteresting
- public markInteresting
- public markInvalid
- public markNotInteresting
- public markNotInteresting
- public shouldPrunePath
- public visitor_begin
- public visitor_end
- public visitors
Inherited from BugReport:
- public Profile
- public addFixItHint
- public addNote
- public addRange
- public getBugType
- public getDeclWithIssue
- public getDescription
- public getFixits
- public getKind
- public getLocation
- public getNotes
- public getRanges
- public getShortDescription
- public getUniqueingDecl
- public getUniqueingLocation
Methods
¶RefCountReport(
const clang::ento::retaincountchecker::
RefCountBug& D,
const clang::LangOptions& LOpts,
clang::ento::ExplodedNode* n,
clang::ento::SymbolRef sym,
bool isLeak = false)
RefCountReport(
const clang::ento::retaincountchecker::
RefCountBug& D,
const clang::LangOptions& LOpts,
clang::ento::ExplodedNode* n,
clang::ento::SymbolRef sym,
bool isLeak = false)
Declared at: clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h:55
Parameters
- const clang::ento::retaincountchecker:: RefCountBug& D
- const clang::LangOptions& LOpts
- clang::ento::ExplodedNode* n
- clang::ento::SymbolRef sym
- bool isLeak = false
¶RefCountReport(
const clang::ento::retaincountchecker::
RefCountBug& D,
const clang::LangOptions& LOpts,
clang::ento::ExplodedNode* n,
clang::ento::SymbolRef sym,
llvm::StringRef endText)
RefCountReport(
const clang::ento::retaincountchecker::
RefCountBug& D,
const clang::LangOptions& LOpts,
clang::ento::ExplodedNode* n,
clang::ento::SymbolRef sym,
llvm::StringRef endText)
Declared at: clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h:59
Parameters
- const clang::ento::retaincountchecker:: RefCountBug& D
- const clang::LangOptions& LOpts
- clang::ento::ExplodedNode* n
- clang::ento::SymbolRef sym
- llvm::StringRef endText
¶ArrayRef<clang::SourceRange> getRanges() const
ArrayRef<clang::SourceRange> getRanges() const
Description
Get the SourceRanges associated with the report.
Declared at: clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h:63