clang 20.0.0git
Public Member Functions | List of all members
clang::ento::ArgEffect Class Reference

An ArgEffect summarizes the retain count behavior on an argument or receiver to a function or method. More...

#include "clang/Analysis/RetainSummaryManager.h"

Public Member Functions

 ArgEffect (ArgEffectKind K=DoNothing, ObjKind O=ObjKind::AnyObj)
 
ArgEffectKind getKind () const
 
ObjKind getObjKind () const
 
ArgEffect withKind (ArgEffectKind NewK)
 
bool operator== (const ArgEffect &Other) const
 

Detailed Description

An ArgEffect summarizes the retain count behavior on an argument or receiver to a function or method.

Definition at line 119 of file RetainSummaryManager.h.

Constructor & Destructor Documentation

◆ ArgEffect()

clang::ento::ArgEffect::ArgEffect ( ArgEffectKind  K = DoNothing,
ObjKind  O = ObjKind::AnyObj 
)
inlineexplicit

Definition at line 123 of file RetainSummaryManager.h.

Member Function Documentation

◆ getKind()

ArgEffectKind clang::ento::ArgEffect::getKind ( ) const
inline

◆ getObjKind()

ObjKind clang::ento::ArgEffect::getObjKind ( ) const
inline

◆ operator==()

bool clang::ento::ArgEffect::operator== ( const ArgEffect Other) const
inline

Definition at line 133 of file RetainSummaryManager.h.

References clang::Other.

◆ withKind()

ArgEffect clang::ento::ArgEffect::withKind ( ArgEffectKind  NewK)
inline

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