enum RetEffect::Kind
Declared at: clang/include/clang/Analysis/RetainSummaryManager.h:141
Enumerators
Name | Value | Comment |
---|---|---|
NoRet | 0 | Indicates that no retain count information is tracked for the return value. |
OwnedSymbol | 1 | Indicates that the returned value is an owned (+1) symbol. |
NotOwnedSymbol | 2 | Indicates that the returned value is an object with retain count semantics but that it is not owned (+0). This is the default for getters, etc. |
OwnedWhenTrackedReceiver | 3 | Indicates that the return value is an owned object when the receiver is also a tracked object. |
NoRetHard | 4 | Indicates that the return value is an owned object when the receiver is also a tracked object. |