clang API Documentation
#include <ObjCRetainCount.h>
Public Types | |
enum | Kind { NoRet, OwnedSymbol, OwnedAllocatedSymbol, NotOwnedSymbol, GCNotOwnedSymbol, OwnedWhenTrackedReceiver, NoRetHard } |
enum | ObjKind { CF, ObjC, AnyObj } |
Determines the object kind of a tracked object. More... | |
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, bool isAllocated=false) |
static RetEffect | MakeNotOwned (ObjKind o) |
static RetEffect | MakeGCNotOwned () |
static RetEffect | MakeNoRet () |
static RetEffect | MakeNoRetHard () |
RetEffect summarizes a call's retain/release behavior with respect to its return value.
Definition at line 107 of file ObjCRetainCount.h.
Definition at line 109 of file ObjCRetainCount.h.
Determines the object kind of a tracked object.
Definition at line 136 of file ObjCRetainCount.h.
Kind clang::ento::objc_retain::RetEffect::getKind | ( | ) | const [inline] |
Definition at line 153 of file ObjCRetainCount.h.
Referenced by llvm::FoldingSetTrait< RetEffect >::Profile().
ObjKind clang::ento::objc_retain::RetEffect::getObjKind | ( | ) | const [inline] |
Definition at line 155 of file ObjCRetainCount.h.
Referenced by llvm::FoldingSetTrait< RetEffect >::Profile().
bool clang::ento::objc_retain::RetEffect::isOwned | ( | ) | const [inline] |
Definition at line 157 of file ObjCRetainCount.h.
References OwnedAllocatedSymbol, OwnedSymbol, and OwnedWhenTrackedReceiver.
static RetEffect clang::ento::objc_retain::RetEffect::MakeGCNotOwned | ( | ) | [inline, static] |
Definition at line 180 of file ObjCRetainCount.h.
References GCNotOwnedSymbol, and ObjC.
static RetEffect clang::ento::objc_retain::RetEffect::MakeNoRet | ( | ) | [inline, static] |
Definition at line 183 of file ObjCRetainCount.h.
References NoRet.
static RetEffect clang::ento::objc_retain::RetEffect::MakeNoRetHard | ( | ) | [inline, static] |
Definition at line 186 of file ObjCRetainCount.h.
References NoRetHard.
static RetEffect clang::ento::objc_retain::RetEffect::MakeNotOwned | ( | ObjKind | o | ) | [inline, static] |
Definition at line 177 of file ObjCRetainCount.h.
References NotOwnedSymbol.
static RetEffect clang::ento::objc_retain::RetEffect::MakeOwned | ( | ObjKind | o, |
bool | isAllocated = false |
||
) | [inline, static] |
Definition at line 174 of file ObjCRetainCount.h.
References OwnedAllocatedSymbol, and OwnedSymbol.
static RetEffect clang::ento::objc_retain::RetEffect::MakeOwnedWhenTrackedReceiver | ( | ) | [inline, static] |
Definition at line 170 of file ObjCRetainCount.h.
References ObjC, and OwnedWhenTrackedReceiver.
bool clang::ento::objc_retain::RetEffect::notOwned | ( | ) | const [inline] |
Definition at line 162 of file ObjCRetainCount.h.
References NotOwnedSymbol.
Definition at line 166 of file ObjCRetainCount.h.