clang 22.0.0git
clang::ento::retaincountchecker Namespace Reference

Classes

class  RefCountBug
class  RefCountFrontend
class  RefCountReport
class  RefCountReportVisitor
class  RefLeakReport
class  RefLeakReportVisitor
class  RefVal
 Metadata on reference. More...
class  RetainCountChecker

Functions

const RefValgetRefBinding (ProgramStateRef State, SymbolRef Sym)
bool isSynthesizedAccessor (const StackFrameContext *SFC)
 Returns true if this stack frame is for an Objective-C method that is a property getter or setter whose body has been synthesized by the analyzer.

Function Documentation

◆ getRefBinding()

◆ isSynthesizedAccessor()

bool clang::ento::retaincountchecker::isSynthesizedAccessor ( const StackFrameContext * SFC)
inline

Returns true if this stack frame is for an Objective-C method that is a property getter or setter whose body has been synthesized by the analyzer.

Definition at line 375 of file RetainCountChecker.h.

References clang::LocationContext::getAnalysisDeclContext(), clang::LocationContext::getDecl(), clang::AnalysisDeclContext::isBodyAutosynthesized(), and clang::Method.

Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkPostStmt(), and clang::ento::retaincountchecker::RefCountReportVisitor::VisitNode().