clang 22.0.0git
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.

References clang::ento::AnyObj, and clang::ento::DoNothing.

Referenced by operator==(), and withKind().

Member Function Documentation

◆ getKind()

◆ getObjKind()

◆ operator==()

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

Definition at line 133 of file RetainSummaryManager.h.

References ArgEffect(), and clang::Other.

◆ withKind()


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