Lines Matching refs:MethodDecl

1346                                       ObjCMethodDecl *MethodDecl,  in CheckMethodOverrideReturn()  argument
1351 (MethodDecl->getObjCDeclQualifier() != in CheckMethodOverrideReturn()
1360 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1361 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1368 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
1382 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1397 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
1400 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
1403 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
1409 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
1549 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods() argument
1552 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl)) in WarnConflictingTypedMethods()
1555 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnConflictingTypedMethods()
1560 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnConflictingTypedMethods()
1561 EF = MethodDecl->param_end(); in WarnConflictingTypedMethods()
1563 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF, in WarnConflictingTypedMethods()
1567 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
1570 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
1600 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods() argument
1605 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional) in WarnExactTypedMethods()
1609 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
1610 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
1613 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
1617 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnExactTypedMethods()
1618 EF = MethodDecl->param_end(); in WarnExactTypedMethods()
1620 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
1627 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic()); in WarnExactTypedMethods()
1629 match = !(MethodDecl->isClassMethod() && in WarnExactTypedMethods()
1630 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods()
1635 Diag(MethodDecl->getLocation(), diag::note_method_declared_at) in WarnExactTypedMethods()
1636 << MethodDecl->getDeclName(); in WarnExactTypedMethods()