Lines Matching refs:MethodImpl
2319 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideReturn() argument
2326 MethodImpl->getObjCDeclQualifier())) { in CheckMethodOverrideReturn()
2328 S.Diag(MethodImpl->getLocation(), in CheckMethodOverrideReturn()
2332 << MethodImpl->getDeclName() in CheckMethodOverrideReturn()
2333 << MethodImpl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2341 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideReturn()
2342 !S.Context.hasSameNullabilityTypeQualifier(MethodImpl->getReturnType(), in CheckMethodOverrideReturn()
2346 *MethodImpl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2349 S.Diag(MethodImpl->getLocation(), in CheckMethodOverrideReturn()
2353 ((MethodImpl->getObjCDeclQualifier() & Decl::OBJC_TQ_CSNullability) in CheckMethodOverrideReturn()
2362 if (S.Context.hasSameUnqualifiedType(MethodImpl->getReturnType(), in CheckMethodOverrideReturn()
2375 MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
2391 S.Diag(MethodImpl->getLocation(), DiagID) in CheckMethodOverrideReturn()
2392 << MethodImpl->getDeclName() << MethodDecl->getReturnType() in CheckMethodOverrideReturn()
2393 << MethodImpl->getReturnType() in CheckMethodOverrideReturn()
2394 << MethodImpl->getReturnTypeSourceRange(); in CheckMethodOverrideReturn()
2403 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideParam() argument
2418 << MethodImpl->getDeclName(); in CheckMethodOverrideParam()
2422 << MethodImpl->getDeclName(); in CheckMethodOverrideParam()
2433 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideParam()
2477 << MethodImpl->getDeclName() << IfaceTy << ImplTy; in CheckMethodOverrideParam()