Home | History | Annotate | Download | only in Sema

Lines Matching refs:MethodDecl

1307                                       ObjCMethodDecl *MethodDecl,
1312 (MethodDecl->getObjCDeclQualifier() !=
1321 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
1322 << getTypeRange(MethodDecl->getResultTypeSourceInfo());
1329 MethodDecl->getResultType()))
1343 MethodDecl->getResultType()->getAs<ObjCObjectPointerType>()) {
1359 << MethodDecl->getResultType()
1362 S.Diag(MethodDecl->getLocation(),
1365 << getTypeRange(MethodDecl->getResultTypeSourceInfo());
1371 ObjCMethodDecl *MethodDecl,
1510 ObjCMethodDecl *MethodDecl,
1513 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl))
1516 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl,
1521 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(),
1522 EF = MethodDecl->param_end();
1524 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF,
1528 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) {
1531 Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
1561 ObjCMethodDecl *MethodDecl,
1566 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional)
1570 if (MethodDecl->hasAttr<UnavailableAttr>() ||
1571 MethodDecl->hasAttr<DeprecatedAttr>())
1574 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl,
1578 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(),
1579 EF = MethodDecl->param_end();
1581 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl,
1588 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic());
1590 match = !(MethodDecl->isClassMethod() &&
1591 MethodDecl->getSelector() == GetNullarySelector("load", Context));
1596 Diag(MethodDecl->getLocation(), diag::note_method_declared_at)
1597 << MethodDecl->getDeclName();
1737 ObjCMethodDecl *MethodDecl = *I;
1741 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl,
1743 else if (!MethodDecl->isPropertyAccessor())
1744 WarnExactTypedMethods(ImpMethodDecl, MethodDecl,
1766 ObjCMethodDecl *MethodDecl = *I;
1768 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl,
1771 WarnExactTypedMethods(ImpMethodDecl, MethodDecl,