Lines Matching defs:MethodDecl
72 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
82 const ObjCMethodDecl *MethodDecl);
1565 const ObjCMethodDecl *MethodDecl,
1579 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1597 commit.insertBefore(MethodDecl->getEndLoc(), AnnotationString);
1602 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1603 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1619 const ObjCMethodDecl *MethodDecl) {
1620 if (MethodDecl->hasBody() || MethodDecl->isImplicit())
1624 getSummaryManager(Ctx).getSummary(AnyCall(MethodDecl));
1627 (MethodDecl->hasAttr<CFReturnsRetainedAttr>() ||
1628 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() ||
1629 MethodDecl->hasAttr<NSReturnsRetainedAttr>() ||
1630 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() ||
1631 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>());
1634 !MethodDecl->hasAttr<NSConsumesSelfAttr>() &&
1635 MethodDecl->getMethodFamily() != OMF_init &&
1636 MethodDecl->getMethodFamily() != OMF_release &&
1639 commit.insertBefore(MethodDecl->getEndLoc(), " NS_CONSUMES_SELF");
1645 (MethodDecl->param_begin() == MethodDecl->param_end()))
1653 AddCFAnnotations(Ctx, RS, MethodDecl, false);
1655 } else if (!AuditedType(MethodDecl->getReturnType()))
1661 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1662 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1667 AddCFAnnotations(Ctx, RS, MethodDecl, MethodIsReturnAnnotated);