enum class ReleaseRequirement
Description
Indicates whether an instance variable is required to be released in -dealloc.
Declared at: clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp:54
Enumerators
Name | Value | Comment |
---|---|---|
MustRelease | 0 | The instance variable must be released, either by calling -release on it directly or by nilling it out with a property setter. |
MustNotReleaseDirectly | 1 | The instance variable must not be directly released with -release. |
Unknown | 2 | The requirement for the instance variable could not be determined. |