clang
7.0.0
|
RetEffect summarizes a call's retain/release behavior with respect to its return value. More...
#include "clang/StaticAnalyzer/Checkers/ObjCRetainCount.h"
Public Types | |
enum | Kind { NoRet, OwnedSymbol, NotOwnedSymbol, GCNotOwnedSymbol, OwnedWhenTrackedReceiver, NoRetHard } |
enum | ObjKind { CF, ObjC, AnyObj, Generalized } |
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) |
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 141 of file ObjCRetainCount.h.
|
inline |
Definition at line 160 of file ObjCRetainCount.h.
Referenced by GetReturnType(), isGeneralizedObjectRef(), llvm::FoldingSetTrait< RetEffect >::Profile(), and updateOutParameter().
|
inline |
Definition at line 162 of file ObjCRetainCount.h.
Referenced by llvm::FoldingSetTrait< RetEffect >::Profile(), and updateOutParameter().
|
inline |
Definition at line 164 of file ObjCRetainCount.h.
References OwnedSymbol, and OwnedWhenTrackedReceiver.
|
inlinestatic |
Definition at line 186 of file ObjCRetainCount.h.
References GCNotOwnedSymbol, and ObjC.
|
inlinestatic |
Definition at line 189 of file ObjCRetainCount.h.
References NoRet.
Referenced by isGeneralizedObjectRef(), and updateOutParameter().
|
inlinestatic |
Definition at line 192 of file ObjCRetainCount.h.
References NoRetHard.
Referenced by isGeneralizedObjectRef().
Definition at line 183 of file ObjCRetainCount.h.
References NotOwnedSymbol.
Referenced by isGeneralizedObjectRef().
Definition at line 180 of file ObjCRetainCount.h.
References OwnedSymbol.
Referenced by isGeneralizedObjectRef().
|
inlinestatic |
Definition at line 176 of file ObjCRetainCount.h.
References ObjC, and OwnedWhenTrackedReceiver.
|
inline |
Definition at line 168 of file ObjCRetainCount.h.
References NotOwnedSymbol.
Definition at line 172 of file ObjCRetainCount.h.