reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1636   if (MethodDecl->hasBody() || MethodDecl->isImplicit())
 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()))
 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);