Lines Matching defs:MethodDecl
72 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
82 const ObjCMethodDecl *MethodDecl);
1581 const ObjCMethodDecl *MethodDecl,
1595 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1613 commit.insertBefore(MethodDecl->getEndLoc(), AnnotationString);
1618 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1619 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1635 const ObjCMethodDecl *MethodDecl) {
1636 if (MethodDecl->hasBody() || MethodDecl->isImplicit())
1640 getSummaryManager(Ctx).getSummary(AnyCall(MethodDecl));
1643 (MethodDecl->hasAttr<CFReturnsRetainedAttr>() ||
1644 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() ||
1645 MethodDecl->hasAttr<NSReturnsRetainedAttr>() ||
1646 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() ||
1647 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>());
1650 !MethodDecl->hasAttr<NSConsumesSelfAttr>() &&
1651 MethodDecl->getMethodFamily() != OMF_init &&
1652 MethodDecl->getMethodFamily() != OMF_release &&
1655 commit.insertBefore(MethodDecl->getEndLoc(), " NS_CONSUMES_SELF");
1661 (MethodDecl->param_begin() == MethodDecl->param_end()))
1669 AddCFAnnotations(Ctx, RS, MethodDecl, false);
1671 } else if (!AuditedType(MethodDecl->getReturnType()))
1677 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1678 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1683 AddCFAnnotations(Ctx, RS, MethodDecl, MethodIsReturnAnnotated);