Lines Matching refs:ObjCMethodDecl
151 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod()
244 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod()
285 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
290 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
295 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod()
345 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
507 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
540 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
546 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
645 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
658 ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
739 ObjCMethodDecl *getterMethod, in BuildObjCSubscriptExpression()
740 ObjCMethodDecl *setterMethod) { in BuildObjCSubscriptExpression()
783 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); in BuildObjCArrayLiteral()
786 Method = ObjCMethodDecl::Create( in BuildObjCArrayLiteral()
792 ObjCMethodDecl::Required, false); in BuildObjCArrayLiteral()
890 ObjCMethodDecl *Method = NSDictionaryDecl->lookupClassMethod(Sel); in BuildObjCDictionaryLiteral()
892 Method = ObjCMethodDecl::Create(Context, in BuildObjCDictionaryLiteral()
900 ObjCMethodDecl::Required, in BuildObjCDictionaryLiteral()
1104 ObjCMethodDecl *Method, in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1109 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1132 ObjCMethodDecl *Method, in DiagnoseMismatchedSelectors()
1162 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, in ParseObjCSelectorExpression()
1168 if (const ObjCMethodDecl *OM = SelectorsForTypoCorrection(Sel)) { in ParseObjCSelectorExpression()
1183 Method->getImplementationControl() != ObjCMethodDecl::Optional && in ParseObjCSelectorExpression()
1239 ObjCMethodDecl *Sema::tryCaptureObjCSelf(SourceLocation Loc) { in tryCaptureObjCSelf()
1245 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf()
1280 ObjCMethodDecl *Method, in getBaseMessageSendResultType()
1319 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType()
1344 ObjCMethodDecl *Method, in getMessageSendResultType()
1408 static const ObjCMethodDecl *
1409 findExplicitInstancetypeDeclarer(const ObjCMethodDecl *MD, in findExplicitInstancetypeDeclarer()
1426 const ObjCMethodDecl *ifaceMD = in findExplicitInstancetypeDeclarer()
1431 SmallVector<const ObjCMethodDecl *, 4> overrides; in findExplicitInstancetypeDeclarer()
1434 if (const ObjCMethodDecl *result = in findExplicitInstancetypeDeclarer()
1445 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn()
1452 if (const ObjCMethodDecl *overridden = in EmitRelatedResultTypeNoteForReturn()
1477 const ObjCMethodDecl *Method = MsgSend->getMethodDecl(); in EmitRelatedResultTypeNote()
1501 ObjCMethodDecl *Method, in CheckMessageArgumentTypes()
1537 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); in CheckMessageArgumentTypes()
1703 ObjCMethodDecl *Method = in isSelfExpr()
1704 dyn_cast_or_null<ObjCMethodDecl>(CurContext->getNonClosureAncestor()); in isSelfExpr()
1708 bool Sema::isSelfExpr(Expr *receiver, const ObjCMethodDecl *method) { in isSelfExpr()
1719 ObjCMethodDecl *Sema::LookupMethodInObjectType(Selector sel, QualType type, in LookupMethodInObjectType()
1724 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1729 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1735 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1743 ObjCMethodDecl *Sema::LookupMethodInQualifiedType(Selector Sel, in LookupMethodInQualifiedType()
1747 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType()
1819 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr()
1839 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr()
1938 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr()
1974 ObjCMethodDecl *Getter = IFace->lookupClassMethod(Sel); in ActOnClassPropertyRefExpr()
1993 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in ActOnClassPropertyRefExpr()
2025 ObjCInterfaceOrSuperCCC(ObjCMethodDecl *Method) { in ObjCInterfaceOrSuperCCC()
2062 if (ObjCMethodDecl *Method = getCurMethodDecl()) { in getObjCMessageKind()
2145 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc); in ActOnSuperMessage()
2193 ObjCMethodDecl *Method, in BuildClassMessageImplicit()
2254 ObjCMethodDecl *Method, in DiagnoseCStringFormatDirectiveInObjCAPI()
2321 ObjCMethodDecl *Method, in BuildClassMessage()
2422 else if (ObjCMethodDecl *CurMeth = getCurMethodDecl()) { in BuildClassMessage()
2484 ObjCMethodDecl *Method, in BuildInstanceMessageImplicit()
2524 ObjCMethodDecl *Method, in BuildInstanceMessage()
2641 if (ObjCMethodDecl *BestMethod = in BuildInstanceMessage()
2672 if (ObjCMethodDecl *CurMeth = getCurMethodDecl()) { in BuildInstanceMessage()
2702 if (ObjCMethodDecl *BestMethod = in BuildInstanceMessage()
2820 const ObjCMethodDecl *InitMethod = nullptr; in BuildInstanceMessage()
2894 ObjCMethodDecl *SelMethod = in BuildInstanceMessage()
2966 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); in BuildInstanceMessage()
3294 ObjCMethodDecl *method; in VisitObjCPropertyRefExpr()
3302 ACCResult checkCallToMethod(ObjCMethodDecl *method) { in checkCallToMethod()
3783 if (ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) in CheckObjCBridgeRelatedCast()
3818 ObjCMethodDecl *&ClassMethod, in checkObjCBridgeRelatedComponents()
3819 ObjCMethodDecl *&InstanceMethod, in checkObjCBridgeRelatedComponents()
3892 ObjCMethodDecl *ClassMethod = nullptr; in CheckObjCBridgeRelatedConversions()
3893 ObjCMethodDecl *InstanceMethod = nullptr; in CheckObjCBridgeRelatedConversions()