Home | History | Annotate | Download | only in Sema

Lines Matching defs:MethodDecl

1262                                       ObjCMethodDecl *MethodDecl,
1267 (MethodDecl->getObjCDeclQualifier() !=
1276 S.Diag(MethodDecl->getLocation(), diag::note_previous_declaration)
1277 << getTypeRange(MethodDecl->getResultTypeSourceInfo());
1284 MethodDecl->getResultType()))
1298 MethodDecl->getResultType()->getAs<ObjCObjectPointerType>()) {
1314 << MethodDecl->getResultType()
1317 S.Diag(MethodDecl->getLocation(),
1320 << getTypeRange(MethodDecl->getResultTypeSourceInfo());
1326 ObjCMethodDecl *MethodDecl,
1465 ObjCMethodDecl *MethodDecl,
1468 checkMethodFamilyMismatch(*this, ImpMethodDecl, MethodDecl))
1471 CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl,
1476 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(),
1477 EF = MethodDecl->param_end();
1479 CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl, *IM, *IF,
1483 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) {
1486 Diag(MethodDecl->getLocation(), diag::note_previous_declaration);
1516 ObjCMethodDecl *MethodDecl,
1521 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional)
1525 if (MethodDecl->hasAttr<UnavailableAttr>() ||
1526 MethodDecl->hasAttr<DeprecatedAttr>())
1529 bool match = CheckMethodOverrideReturn(*this, ImpMethodDecl, MethodDecl,
1533 IF = MethodDecl->param_begin(), EM = ImpMethodDecl->param_end(),
1534 EF = MethodDecl->param_end();
1536 match = CheckMethodOverrideParam(*this, ImpMethodDecl, MethodDecl,
1543 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic());
1545 match = !(MethodDecl->isClassMethod() &&
1546 MethodDecl->getSelector() == GetNullarySelector("load", Context));
1551 Diag(MethodDecl->getLocation(), diag::note_method_declared_at)
1552 << MethodDecl->getDeclName();
1696 ObjCMethodDecl *MethodDecl = *I;
1700 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl,
1702 else if (!MethodDecl->isPropertyAccessor())
1703 WarnExactTypedMethods(ImpMethodDecl, MethodDecl,
1725 ObjCMethodDecl *MethodDecl = *I;
1727 WarnConflictingTypedMethods(ImpMethodDecl, MethodDecl,
1730 WarnExactTypedMethods(ImpMethodDecl, MethodDecl,