clang  16.0.0git
Public Member Functions | List of all members
clang::ento::retaincountchecker::RefLeakReportVisitor Class Reference
Inheritance diagram for clang::ento::retaincountchecker::RefLeakReportVisitor:
Inheritance graph
Collaboration diagram for clang::ento::retaincountchecker::RefLeakReportVisitor:
Collaboration graph

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. More...
- 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. More...
- Public Member Functions inherited from clang::ento::BugReporterVisitor
 BugReporterVisitor ()=default
 BugReporterVisitor (const BugReporterVisitor &)=default
 BugReporterVisitor (BugReporterVisitor &&)
virtual ~BugReporterVisitor ()
virtual void finalizeVisitor (BugReporterContext &BRC, const ExplodedNode *EndPathNode, PathSensitiveBugReport &BR)
 Last function called on the visitor, no further calls to VisitNode would follow. More...

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. More...
- 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 

Definition at line 336 of file RetainCountDiagnostics.cpp.

Member Function Documentation

◆ getEndPath()

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

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