clang 20.0.0git
Public Member Functions | List of all members
clang::ento::retaincountchecker::RefLeakReportVisitor Class Reference
Inheritance diagram for clang::ento::retaincountchecker::RefLeakReportVisitor:
Inheritance graph
[legend]

Public Member Functions

 RefLeakReportVisitor (SymbolRef Sym, const MemRegion *LastBinding)
 
PathDiagnosticPieceRef getEndPath (BugReporterContext &BRC, const ExplodedNode *N, PathSensitiveBugReport &BR) override
 Provide custom definition for the final diagnostic piece on the path - the piece, which is displayed before the path is expanded.
 
- Public Member Functions inherited from clang::ento::retaincountchecker::RefCountReportVisitor
 RefCountReportVisitor (SymbolRef sym)
 
void Profile (llvm::FoldingSetNodeID &ID) const override
 
PathDiagnosticPieceRef VisitNode (const ExplodedNode *N, BugReporterContext &BRC, PathSensitiveBugReport &BR) override
 Return a diagnostic piece which should be associated with the given node.
 
PathDiagnosticPieceRef getEndPath (BugReporterContext &BRC, const ExplodedNode *N, PathSensitiveBugReport &BR) override
 Provide custom definition for the final diagnostic piece on the path - the piece, which is displayed before the path is expanded.
 
- Public Member Functions inherited from clang::ento::BugReporterVisitor
 BugReporterVisitor ()=default
 
 BugReporterVisitor (const BugReporterVisitor &)=default
 
 BugReporterVisitor (BugReporterVisitor &&)
 
BugReporterVisitoroperator= (const BugReporterVisitor &)=delete
 
BugReporterVisitoroperator= (BugReporterVisitor &&)=delete
 
virtual ~BugReporterVisitor ()
 
virtual PathDiagnosticPieceRef VisitNode (const ExplodedNode *Succ, BugReporterContext &BRC, PathSensitiveBugReport &BR)=0
 Return a diagnostic piece which should be associated with the given node.
 
virtual void finalizeVisitor (BugReporterContext &BRC, const ExplodedNode *EndPathNode, PathSensitiveBugReport &BR)
 Last function called on the visitor, no further calls to VisitNode would follow.
 
virtual PathDiagnosticPieceRef getEndPath (BugReporterContext &BRC, const ExplodedNode *N, PathSensitiveBugReport &BR)
 Provide custom definition for the final diagnostic piece on the path - the piece, which is displayed before the path is expanded.
 
virtual void Profile (llvm::FoldingSetNodeID &ID) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from clang::ento::BugReporterVisitor
static PathDiagnosticPieceRef getDefaultEndPath (const BugReporterContext &BRC, const ExplodedNode *N, const PathSensitiveBugReport &BR)
 Generates the default final diagnostic piece.
 
- Protected Attributes inherited from clang::ento::retaincountchecker::RefCountReportVisitor
SymbolRef Sym
 

Detailed Description

Definition at line 334 of file RetainCountDiagnostics.cpp.

Constructor & Destructor Documentation

◆ RefLeakReportVisitor()

clang::ento::retaincountchecker::RefLeakReportVisitor::RefLeakReportVisitor ( SymbolRef  Sym,
const MemRegion LastBinding 
)
inline

Definition at line 336 of file RetainCountDiagnostics.cpp.

Member Function Documentation

◆ getEndPath()

PathDiagnosticPieceRef RefLeakReportVisitor::getEndPath ( BugReporterContext BRC,
const ExplodedNode N,
PathSensitiveBugReport BR 
)
overridevirtual

The documentation for this class was generated from the following file: