Home | History | Annotate | Download | only in ARCMigrate

Lines Matching refs:MethodDecl

71                         const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
81 const ObjCMethodDecl *MethodDecl);
1582 const ObjCMethodDecl *MethodDecl,
1596 ObjCMethodFamily OMF = MethodDecl->getMethodFamily();
1614 commit.insertBefore(MethodDecl->getLocEnd(), AnnotationString);
1620 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1621 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1635 const ObjCMethodDecl *MethodDecl) {
1636 if (MethodDecl->hasBody() || MethodDecl->isImplicit())
1639 CallEffects CE = CallEffects::getEffect(MethodDecl);
1640 bool MethodIsReturnAnnotated = (MethodDecl->hasAttr<CFReturnsRetainedAttr>() ||
1641 MethodDecl->hasAttr<CFReturnsNotRetainedAttr>() ||
1642 MethodDecl->hasAttr<NSReturnsRetainedAttr>() ||
1643 MethodDecl->hasAttr<NSReturnsNotRetainedAttr>() ||
1644 MethodDecl->hasAttr<NSReturnsAutoreleasedAttr>());
1647 !MethodDecl->hasAttr<NSConsumesSelfAttr>() &&
1648 MethodDecl->getMethodFamily() != OMF_init &&
1649 MethodDecl->getMethodFamily() != OMF_release &&
1652 commit.insertBefore(MethodDecl->getLocEnd(), " NS_CONSUMES_SELF");
1658 (MethodDecl->param_begin() == MethodDecl->param_end()))
1666 AddCFAnnotations(Ctx, CE, MethodDecl, false);
1668 } else if (!AuditedType(MethodDecl->getReturnType()))
1676 for (ObjCMethodDecl::param_const_iterator pi = MethodDecl->param_begin(),
1677 pe = MethodDecl->param_end(); pi != pe; ++pi, ++i) {
1682 AddCFAnnotations(Ctx, CE, MethodDecl, MethodIsReturnAnnotated);