Lines Matching defs: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
378 // Function/Method behavior summaries.
397 /// function/method call returns a new tracked symbol.
555 // FIXME: Class method lookup. Right now we dont' have a good way
772 /// the summary for the current method being analyzed.
790 /// Determine if there is a special return effect for this function or method.
815 // summaries. If a function or method looks like it has a default summary, but
1384 // Check the method family, and apply any default annotations.
1453 // method.
1495 // we should use the class method.
1499 const ObjCMethodDecl *Method = Msg.getDecl();
1500 if (!Method && ReceiverClass)
1501 Method = ReceiverClass->getInstanceMethod(S);
1503 return getMethodSummary(S, ReceiverClass, Method, Msg.getResultType(),
1550 // awakeAfterUsingCoder: behaves basically like an 'init' method. It
1601 // exit a method.
1700 : CFRefBug(checker, "Method should return an owned object") {}
1856 /// Returns true if this stack frame is for an Objective-C method that is a
1859 auto Method = dyn_cast_or_null<ObjCMethodDecl>(SFC->getDecl());
1860 if (!Method || !Method->isPropertyAccessor())
1912 if (const ObjCMethodDecl *Method = BL->getBoxingMethod())
1913 BoxClass = Method->getClassInterface();
1945 os << "Method";
2196 // The location context of the init method called on the leaked object, if
2233 // init method's location context.
2251 // mark its init method as interesting.
2327 os << (isa<ObjCMethodDecl>(D) ? " is returned from a method "
2352 os << " and returned from method '" << MD.getSelector().getAsString()
2354 "of this method do not expect a returned object with a +1 retain "
2905 // is a call to a class method whose type we can resolve. In such
3376 // with their expected semantics (e.g., the method should return a retained
3449 // Consult the summary of the enclosing method.
3491 // method should return ownership unless it returns a CF object.
3498 // enclosing method is expected to return ownership.
3525 // Assume the method was trying to transfer a +1 reference from a
3960 createCallEffect(MD, Method);