Lines Matching refs:MethodDecl

2320                                       ObjCMethodDecl *MethodDecl,  in CheckMethodOverrideReturn()  argument
2325 objcModifiersConflict(MethodDecl->getObjCDeclQualifier(), in CheckMethodOverrideReturn()
2334 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
2335 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2343 MethodDecl->getReturnType(), in CheckMethodOverrideReturn()
2348 *MethodDecl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2357 ((MethodDecl->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability) in CheckMethodOverrideReturn()
2359 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in CheckMethodOverrideReturn()
2363 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
2377 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2392 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
2395 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
2398 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2404 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
2558 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods() argument
2561 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl)) in WarnConflictingTypedMethods()
2564 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnConflictingTypedMethods()
2569 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnConflictingTypedMethods()
2570 EF = MethodDecl->param_end(); in WarnConflictingTypedMethods()
2572 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF, in WarnConflictingTypedMethods()
2576 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
2579 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
2609 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods() argument
2614 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional) in WarnExactTypedMethods()
2618 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
2619 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
2622 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2626 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnExactTypedMethods()
2627 EF = MethodDecl->param_end(); in WarnExactTypedMethods()
2629 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2636 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic()); in WarnExactTypedMethods()
2638 match = !(MethodDecl->isClassMethod() && in WarnExactTypedMethods()
2639 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods()
2644 Diag(MethodDecl->getLocation(), diag::note_method_declared_at) in WarnExactTypedMethods()
2645 << MethodDecl->getDeclName(); in WarnExactTypedMethods()