Lines Matching refs:ImpMethodDecl
2570 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods() argument
2574 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl)) in WarnConflictingTypedMethods()
2577 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnConflictingTypedMethods()
2581 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnConflictingTypedMethods()
2582 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnConflictingTypedMethods()
2585 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF, in WarnConflictingTypedMethods()
2589 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
2590 Diag(ImpMethodDecl->getLocation(), in WarnConflictingTypedMethods()
2621 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods() argument
2635 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2638 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnExactTypedMethods()
2639 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(), in WarnExactTypedMethods()
2642 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, in WarnExactTypedMethods()
2649 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic()); in WarnExactTypedMethods()
2655 Diag(ImpMethodDecl->getLocation(), in WarnExactTypedMethods()
2842 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations() local
2847 if (ImpMethodDecl) { in MatchAllMethodDeclarations()
2849 if (ImpMethodDecl->isSynthesizedAccessorStub()) in MatchAllMethodDeclarations()
2852 WarnConflictingTypedMethods(ImpMethodDecl, I, in MatchAllMethodDeclarations()
2855 WarnExactTypedMethods(ImpMethodDecl, I, isa<ObjCProtocolDecl>(CDecl)); in MatchAllMethodDeclarations()
2871 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations() local
2876 if (ImpMethodDecl) { in MatchAllMethodDeclarations()
2878 if (ImpMethodDecl->isSynthesizedAccessorStub()) in MatchAllMethodDeclarations()
2881 WarnConflictingTypedMethods(ImpMethodDecl, I, in MatchAllMethodDeclarations()
2884 WarnExactTypedMethods(ImpMethodDecl, I, isa<ObjCProtocolDecl>(CDecl)); in MatchAllMethodDeclarations()