Lines Matching refs:ObjCMethodDecl

149                                  Selector Sel, const ObjCMethodDecl *Method) {  in validateBoxingMethod()
242 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod()
283 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
288 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
294 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod()
345 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
506 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
563 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
570 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
676 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
684 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
765 ObjCMethodDecl *getterMethod, in BuildObjCSubscriptExpression()
766 ObjCMethodDecl *setterMethod) { in BuildObjCSubscriptExpression()
809 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); in BuildObjCArrayLiteral()
812 Method = ObjCMethodDecl::Create( in BuildObjCArrayLiteral()
818 ObjCMethodDecl::Required, false); in BuildObjCArrayLiteral()
971 ObjCMethodDecl *Method = NSDictionaryDecl->lookupClassMethod(Sel); in BuildObjCDictionaryLiteral()
973 Method = ObjCMethodDecl::Create( in BuildObjCDictionaryLiteral()
980 ObjCMethodDecl::Required, false); in BuildObjCDictionaryLiteral()
1179 ObjCMethodDecl *Method, in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1184 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1207 ObjCMethodDecl *Method, in DiagnoseMismatchedSelectors()
1231 static ObjCMethodDecl *LookupDirectMethodInMethodList(Sema &S, Selector Sel, in LookupDirectMethodInMethodList()
1237 ObjCMethodDecl *DirectMethod = nullptr; in LookupDirectMethodInMethodList()
1239 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1257 static ObjCMethodDecl *LookupDirectMethodInGlobalPool(Sema &S, Selector Sel, in LookupDirectMethodInGlobalPool()
1264 ObjCMethodDecl *DirectInstance = LookupDirectMethodInMethodList( in LookupDirectMethodInGlobalPool()
1266 ObjCMethodDecl *DirectClass = LookupDirectMethodInMethodList( in LookupDirectMethodInGlobalPool()
1272 static ObjCMethodDecl *findMethodInCurrentClass(Sema &S, Selector Sel) { in findMethodInCurrentClass()
1281 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/true)) in findMethodInCurrentClass()
1283 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*isInstance=*/true)) in findMethodInCurrentClass()
1285 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/false)) in findMethodInCurrentClass()
1287 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*isInstance=*/false)) in findMethodInCurrentClass()
1299 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, in ParseObjCSelectorExpression()
1305 if (const ObjCMethodDecl *OM = SelectorsForTypoCorrection(Sel)) { in ParseObjCSelectorExpression()
1321 ObjCMethodDecl *GlobalDirectMethod = in ParseObjCSelectorExpression()
1333 ObjCMethodDecl *LikelyTargetMethod = findMethodInCurrentClass(*this, Sel); in ParseObjCSelectorExpression()
1352 Method->getImplementationControl() != ObjCMethodDecl::Optional && in ParseObjCSelectorExpression()
1415 ObjCMethodDecl *Sema::tryCaptureObjCSelf(SourceLocation Loc) { in tryCaptureObjCSelf()
1421 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf()
1456 ObjCMethodDecl *Method, in getBaseMessageSendResultType()
1495 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType()
1521 ObjCMethodDecl *Method, in getMessageSendResultType()
1542 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType()
1623 static const ObjCMethodDecl *
1624 findExplicitInstancetypeDeclarer(const ObjCMethodDecl *MD, in findExplicitInstancetypeDeclarer()
1641 const ObjCMethodDecl *ifaceMD = in findExplicitInstancetypeDeclarer()
1646 SmallVector<const ObjCMethodDecl *, 4> overrides; in findExplicitInstancetypeDeclarer()
1649 if (const ObjCMethodDecl *result = in findExplicitInstancetypeDeclarer()
1660 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); in EmitRelatedResultTypeNoteForReturn()
1667 if (const ObjCMethodDecl *overridden = in EmitRelatedResultTypeNoteForReturn()
1692 const ObjCMethodDecl *Method = MsgSend->getMethodDecl(); in EmitRelatedResultTypeNote()
1714 Selector Sel, ArrayRef<SourceLocation> SelectorLocs, ObjCMethodDecl *Method, in CheckMessageArgumentTypes()
1749 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); in CheckMessageArgumentTypes()
1920 ObjCMethodDecl *Method = in isSelfExpr()
1921 dyn_cast_or_null<ObjCMethodDecl>(CurContext->getNonClosureAncestor()); in isSelfExpr()
1925 bool Sema::isSelfExpr(Expr *receiver, const ObjCMethodDecl *method) { in isSelfExpr()
1936 ObjCMethodDecl *Sema::LookupMethodInObjectType(Selector sel, QualType type, in LookupMethodInObjectType()
1941 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1946 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1952 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1960 ObjCMethodDecl *Sema::LookupMethodInQualifiedType(Selector Sel, in LookupMethodInQualifiedType()
1964 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType()
2038 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr()
2058 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr()
2173 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr()
2220 ObjCMethodDecl *Getter = IFace->lookupClassMethod(GetterSel); in ActOnClassPropertyRefExpr()
2234 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in ActOnClassPropertyRefExpr()
2266 ObjCInterfaceOrSuperCCC(ObjCMethodDecl *Method) { in ObjCInterfaceOrSuperCCC()
2307 if (ObjCMethodDecl *Method = getCurMethodDecl()) { in getObjCMessageKind()
2390 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc); in ActOnSuperMessage()
2437 ObjCMethodDecl *Method, in BuildClassMessageImplicit()
2494 const ObjCMethodDecl *Method, in checkFoundationAPI()
2505 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI()
2543 ObjCMethodDecl *Method, in DiagnoseCStringFormatDirectiveInObjCAPI()
2610 ObjCMethodDecl *Method, in BuildClassMessage()
2721 else if (ObjCMethodDecl *CurMeth = getCurMethodDecl()) { in BuildClassMessage()
2785 ObjCMethodDecl *Method, in BuildInstanceMessageImplicit()
2793 static bool isMethodDeclaredInRootProtocol(Sema &S, const ObjCMethodDecl *M) { in isMethodDeclaredInRootProtocol()
2843 ObjCMethodDecl *Method, in BuildInstanceMessage()
2953 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
2962 if (ObjCMethodDecl *BestMethod = in BuildInstanceMessage()
2993 if (ObjCMethodDecl *CurMeth = getCurMethodDecl()) { in BuildInstanceMessage()
3013 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
3032 if (ObjCMethodDecl *BestMethod = in BuildInstanceMessage()
3100 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
3109 if (ObjCMethodDecl *BestMethod = in BuildInstanceMessage()
3202 const ObjCMethodDecl *InitMethod = nullptr; in BuildInstanceMessage()
3278 ObjCMethodDecl *SelMethod = in BuildInstanceMessage()
3369 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); in BuildInstanceMessage()
3701 ObjCMethodDecl *method; in VisitObjCPropertyRefExpr()
3709 ACCResult checkCallToMethod(ObjCMethodDecl *method) { in checkCallToMethod()
4198 if (ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) in CheckObjCBridgeRelatedCast()
4231 ObjCMethodDecl *&ClassMethod, in checkObjCBridgeRelatedComponents()
4232 ObjCMethodDecl *&InstanceMethod, in checkObjCBridgeRelatedComponents()
4313 ObjCMethodDecl *ClassMethod = nullptr; in CheckObjCBridgeRelatedConversions()
4314 ObjCMethodDecl *InstanceMethod = nullptr; in CheckObjCBridgeRelatedConversions()