Lines Matching defs:MethodDecl
73 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
83 const ObjCMethodDecl *MethodDecl);
1566 const ObjCMethodDecl *MethodDecl,
1580 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1598 commit.insertBefore(MethodDecl->getEndLoc(), AnnotationString);
1603 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1604 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1620 const ObjCMethodDecl *MethodDecl) {
1621 if (MethodDecl->hasBody() || MethodDecl->isImplicit())
1625 getSummaryManager(Ctx).getSummary(AnyCall(MethodDecl));
1628 (MethodDecl->hasAttr<CFReturnsRetainedAttr>() ||
1629 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() ||
1630 MethodDecl->hasAttr<NSReturnsRetainedAttr>() ||
1631 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() ||
1632 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>());
1635 !MethodDecl->hasAttr<NSConsumesSelfAttr>() &&
1636 MethodDecl->getMethodFamily() != OMF_init &&
1637 MethodDecl->getMethodFamily() != OMF_release &&
1640 commit.insertBefore(MethodDecl->getEndLoc(), " NS_CONSUMES_SELF");
1646 (MethodDecl->param_begin() == MethodDecl->param_end()))
1654 AddCFAnnotations(Ctx, RS, MethodDecl, false);
1656 } else if (!AuditedType(MethodDecl->getReturnType()))
1662 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1663 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1668 AddCFAnnotations(Ctx, RS, MethodDecl, MethodIsReturnAnnotated);