Home | History | Annotate | Download | only in Checkers

Lines Matching refs:Method

70 /// ArgEffects summarizes the effects of a function/method call on all of
90 ErrorLeakReturned, // A memory leak due to the returning method not having
379 // Function/Method behavior summaries.
398 /// function/method call returns a new tracked symbol.
556 // FIXME: Class method lookup. Right now we dont' have a good way
773 /// the summary for the current method being analyzed.
791 /// Determine if there is a special return effect for this function or method.
816 // summaries. If a function or method looks like it has a default summary, but
1407 // Check the method family, and apply any default annotations.
1476 // method.
1518 // we should use the class method.
1522 const ObjCMethodDecl *Method = Msg.getDecl();
1523 if (!Method && ReceiverClass)
1524 Method = ReceiverClass->getInstanceMethod(S);
1526 return getMethodSummary(S, ReceiverClass, Method, Msg.getResultType(),
1573 // awakeAfterUsingCoder: behaves basically like an 'init' method. It
1624 // exit a method.
1723 : CFRefBug(checker, "Method should return an owned object") {}
1879 /// Returns true if this stack frame is for an Objective-C method that is a
1882 auto Method = dyn_cast_or_null<ObjCMethodDecl>(SFC->getDecl());
1883 if (!Method || !Method->isPropertyAccessor())
1935 if (const ObjCMethodDecl *Method = BL->getBoxingMethod())
1936 BoxClass = Method->getClassInterface();
1968 os << "Method";
2220 // The location context of the init method called on the leaked object, if
2257 // init method's location context.
2275 // mark its init method as interesting.
2351 os << (isa<ObjCMethodDecl>(D) ? " is returned from a method "
2376 os << " and returned from method '" << MD.getSelector().getAsString()
2378 "of this method do not expect a returned object with a +1 retain "
2926 // is a call to a class method whose type we can resolve. In such
3438 // with their expected semantics (e.g., the method should return a retained
3511 // Consult the summary of the enclosing method.
3553 // method should return ownership unless it returns a CF object.
3560 // enclosing method is expected to return ownership.
3584 // Assume the method was trying to transfer a +1 reference from a
4016 createCallEffect(MD, Method);