clang
3.9.0
|
RetEffect summarizes a call's retain/release behavior with respect to its return value. More...
#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 115 of file ObjCRetainCount.h.
Definition at line 117 of file ObjCRetainCount.h.
Determines the object kind of a tracked object.
Definition at line 144 of file ObjCRetainCount.h.
|
inline |
Definition at line 161 of file ObjCRetainCount.h.
Referenced by llvm::FoldingSetTrait< RetEffect >::Profile().
|
inline |
Definition at line 163 of file ObjCRetainCount.h.
Referenced by llvm::FoldingSetTrait< RetEffect >::Profile().
|
inline |
Definition at line 165 of file ObjCRetainCount.h.
References OwnedAllocatedSymbol, OwnedSymbol, and OwnedWhenTrackedReceiver.
|
inlinestatic |
Definition at line 188 of file ObjCRetainCount.h.
References GCNotOwnedSymbol, and ObjC.
|
inlinestatic |
Definition at line 191 of file ObjCRetainCount.h.
References NoRet.
|
inlinestatic |
Definition at line 194 of file ObjCRetainCount.h.
References NoRetHard.
Definition at line 185 of file ObjCRetainCount.h.
References NotOwnedSymbol.
|
inlinestatic |
Definition at line 182 of file ObjCRetainCount.h.
References OwnedAllocatedSymbol, and OwnedSymbol.
|
inlinestatic |
Definition at line 178 of file ObjCRetainCount.h.
References ObjC, and OwnedWhenTrackedReceiver.
|
inline |
Definition at line 170 of file ObjCRetainCount.h.
References NotOwnedSymbol.
Definition at line 174 of file ObjCRetainCount.h.