Lines Matching refs:MethodDecl

2347                                       ObjCMethodDecl *MethodDecl,  in CheckMethodOverrideReturn()  argument
2352 objcModifiersConflict(MethodDecl->getObjCDeclQualifier(), in CheckMethodOverrideReturn()
2361 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
2362 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2370 MethodDecl->getReturnType(), in CheckMethodOverrideReturn()
2373 auto nullabilityMethodDecl = *MethodDecl->getReturnType()->getNullability(); in CheckMethodOverrideReturn()
2380 ((MethodDecl->getObjCDeclQualifier() & in CheckMethodOverrideReturn()
2382 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in CheckMethodOverrideReturn()
2386 MethodDecl->getReturnType())) in CheckMethodOverrideReturn()
2400 MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2415 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
2418 S.Diag(MethodDecl->getLocation(), IsOverridingMode in CheckMethodOverrideReturn()
2421 << MethodDecl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2427 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
2579 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods() argument
2582 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl)) in WarnConflictingTypedMethods()
2585 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnConflictingTypedMethods()
2590 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnConflictingTypedMethods()
2591 EF = MethodDecl->param_end(); in WarnConflictingTypedMethods()
2593 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF, in WarnConflictingTypedMethods()
2597 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
2600 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
2630 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods() argument
2635 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional) in WarnExactTypedMethods()
2639 if (MethodDecl->hasAttr<UnavailableAttr>() || in WarnExactTypedMethods()
2640 MethodDecl->hasAttr<DeprecatedAttr>()) in WarnExactTypedMethods()
2643 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2647 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnExactTypedMethods()
2648 EF = MethodDecl->param_end(); in WarnExactTypedMethods()
2650 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2657 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic()); in WarnExactTypedMethods()
2659 match = !(MethodDecl->isClassMethod() && in WarnExactTypedMethods()
2660 MethodDecl->getSelector() == GetNullarySelector("load", Context)); in WarnExactTypedMethods()
2665 Diag(MethodDecl->getLocation(), diag::note_method_declared_at) in WarnExactTypedMethods()
2666 << MethodDecl->getDeclName(); in WarnExactTypedMethods()