clang 20.0.0git
|
RetEffect summarizes a call's retain/release behavior with respect to its return value. More...
#include "clang/Analysis/RetainSummaryManager.h"
Public Types | |
enum | Kind { NoRet , OwnedSymbol , NotOwnedSymbol , OwnedWhenTrackedReceiver , NoRetHard } |
Public Member Functions | |
Kind | getKind () const |
ObjKind | getObjKind () const |
bool | isOwned () const |
bool | notOwned () const |
bool | operator== (const RetEffect &Other) const |
Static Public Member Functions | |
static RetEffect | MakeOwnedWhenTrackedReceiver () |
static RetEffect | MakeOwned (ObjKind o) |
static RetEffect | MakeNotOwned (ObjKind o) |
static RetEffect | MakeNoRet () |
static RetEffect | MakeNoRetHard () |
RetEffect summarizes a call's retain/release behavior with respect to its return value.
Definition at line 140 of file RetainSummaryManager.h.
Definition at line 142 of file RetainSummaryManager.h.
|
inline |
Definition at line 173 of file RetainSummaryManager.h.
Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkReturnWithRetEffect(), clang::ento::retaincountchecker::RetainCountChecker::checkSummary(), and clang::ento::retaincountchecker::RetainCountChecker::processSummaryOfInlined().
|
inline |
Definition at line 175 of file RetainSummaryManager.h.
Referenced by refValFromRetEffect().
|
inline |
Definition at line 177 of file RetainSummaryManager.h.
References OwnedSymbol, and OwnedWhenTrackedReceiver.
Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkReturnWithRetEffect(), and refValFromRetEffect().
|
inlinestatic |
Definition at line 199 of file RetainSummaryManager.h.
References NoRet.
Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkSummary(), and clang::ento::RetainSummary::isNoop().
|
inlinestatic |
Definition at line 202 of file RetainSummaryManager.h.
References NoRetHard.
Definition at line 196 of file RetainSummaryManager.h.
References NotOwnedSymbol.
Definition at line 193 of file RetainSummaryManager.h.
References OwnedSymbol.
|
inlinestatic |
Definition at line 189 of file RetainSummaryManager.h.
References clang::ento::ObjC, and OwnedWhenTrackedReceiver.
|
inline |
Definition at line 181 of file RetainSummaryManager.h.
References NotOwnedSymbol.
Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkSummary(), and refValFromRetEffect().
Definition at line 185 of file RetainSummaryManager.h.
References clang::Other.