enum Sequence
Description
A sequence of states that a pointer may go through in which an objc_retain and objc_release are actually needed.
Declared at: llvm/lib/Transforms/ObjCARC/PtrState.h:40
Enumerators
Name | Value | Comment |
---|---|---|
S_None | 0 | |
S_Retain | 1 | objc_retain(x). |
S_CanRelease | 2 | foo(x) -- x could possibly see a ref count decrement. |
S_Use | 3 | any use of x. |
S_Stop | 4 | like S_Release, but code motion is stopped. |
S_Release | 5 | objc_release(x). |
S_MovableRelease | 6 | objc_release(x), !clang.imprecise_release. |