Lines Matching refs:MethodDecl
1172 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn() argument
1175 (MethodDecl->getObjCDeclQualifier() != in CheckMethodOverrideReturn()
1181 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration) in CheckMethodOverrideReturn()
1182 << getTypeRange(MethodDecl->getResultTypeSourceInfo()); in CheckMethodOverrideReturn()
1186 MethodDecl->getResultType())) in CheckMethodOverrideReturn()
1196 MethodDecl->getResultType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1210 << MethodDecl->getResultType() in CheckMethodOverrideReturn()
1213 S.Diag(MethodDecl->getLocation(), diag::note_previous_definition) in CheckMethodOverrideReturn()
1214 << getTypeRange(MethodDecl->getResultTypeSourceInfo()); in CheckMethodOverrideReturn()
1219 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam() argument
1337 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods() argument
1340 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl)) in WarnConflictingTypedMethods()
1343 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl, in WarnConflictingTypedMethods()
1347 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(); in WarnConflictingTypedMethods()
1349 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF, in WarnConflictingTypedMethods()
1352 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
1354 Diag(MethodDecl->getLocation(), diag::note_previous_declaration); in WarnConflictingTypedMethods()
1478 ObjCMethodDecl *MethodDecl = in MatchAllMethodDeclarations() local
1480 assert(MethodDecl && in MatchAllMethodDeclarations()
1484 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl, in MatchAllMethodDeclarations()
1503 ObjCMethodDecl *MethodDecl = in MatchAllMethodDeclarations() local
1505 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl, in MatchAllMethodDeclarations()