Home | History | Annotate | Download | only in Checkers

Lines Matching refs:Instance

11 //  to warn about improper releasing of instance variables that back synthesized
13 // - When a class has a synthesized instance variable for a 'retain' or 'copy'
15 // - When a class has a synthesized instance variable for a 'retain'/'copy'
20 // synthesized instance variable is released in the following cases:
24 // This checker only warns for instance variables synthesized to back
26 // an instance variable is stored retained or not. For synthesized properties,
52 /// Indicates whether an instance variable is required to be released in
55 /// The instance variable must be released, either by calling
59 /// The instance variable must not be directly released with -release.
62 /// The requirement for the instance variable could not be determined.
181 /// Maps from the symbol for a class instance to the set of
229 // Scan the instance methods for "dealloc".
242 OS << "'" << *D << "' lacks a 'dealloc' instance method but "
258 /// instance variables that must be released by the end of -dealloc
315 /// Returns nullptr if the instance symbol cannot be found.
321 /// Given a symbol for an ivar, return a symbol for the instance containing
322 /// the ivar. Returns nullptr if the instance symbol cannot be found.
352 // An instance variable symbol was released with -release:
357 // An instance variable symbol was released nilling out its property:
471 // If Sym is a symbol for an object with instance variables that
474 // very unlikely to release instance variables on objects passed to them,
492 /// Report any unreleased instance variables for the current instance being
524 // Don't warn if the ivar is not for this instance.
535 // Prevents diagnosing multiple times for the same instance variable
560 // suppress here (rather than not tracking for instance variables in
611 /// the top-most deallocating instance. If so, find the property for that
626 // given instance.
725 // Find the property backing the instance variable that M
856 /// Instance and return the resultant state.
858 ProgramStateRef State, SymbolRef Instance, SymbolRef Value) const {
859 assert(Instance);
865 const SymbolSet *Unreleased = State->get<UnreleasedIvarMap>(Instance);
881 return State->remove<UnreleasedIvarMap>(Instance);
884 return State->set<UnreleasedIvarMap>(Instance, NewUnreleased);
887 /// Determines whether the instance variable for \p PropImpl must or must not be
900 // the value in their instance variables must be released in -dealloc.
924 /// and nils out its underlying instance variable.
1032 /// instance variables belonging to its *subclasses* if the variable name