Lines Matching refs:ObjCMethodDecl
155 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod()
249 static ObjCMethodDecl *getNSNumberFactoryMethod(SemaObjC &S, SourceLocation Loc, in getNSNumberFactoryMethod()
290 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
294 Method = ObjCMethodDecl::Create( in getNSNumberFactoryMethod()
353 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
516 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
573 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
683 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
772 ObjCMethodDecl *getterMethod, ObjCMethodDecl *setterMethod) { in BuildObjCSubscriptExpression()
818 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel); in BuildObjCArrayLiteral()
821 Method = ObjCMethodDecl::Create( in BuildObjCArrayLiteral()
979 ObjCMethodDecl *Method = NSDictionaryDecl->lookupClassMethod(Sel); in BuildObjCDictionaryLiteral()
981 Method = ObjCMethodDecl::Create( in BuildObjCDictionaryLiteral()
1186 ObjCMethodDecl *Method, in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1191 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1214 ObjCMethodDecl *Method, in DiagnoseMismatchedSelectors()
1239 static ObjCMethodDecl *LookupDirectMethodInMethodList(Sema &S, Selector Sel, in LookupDirectMethodInMethodList()
1245 ObjCMethodDecl *DirectMethod = nullptr; in LookupDirectMethodInMethodList()
1247 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1265 static ObjCMethodDecl *LookupDirectMethodInGlobalPool(Sema &S, Selector Sel, in LookupDirectMethodInGlobalPool()
1272 ObjCMethodDecl *DirectInstance = LookupDirectMethodInMethodList( in LookupDirectMethodInGlobalPool()
1274 ObjCMethodDecl *DirectClass = LookupDirectMethodInMethodList( in LookupDirectMethodInGlobalPool()
1280 static ObjCMethodDecl *findMethodInCurrentClass(Sema &S, Selector Sel) { in findMethodInCurrentClass()
1289 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/true)) in findMethodInCurrentClass()
1291 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*Instance=*/true)) in findMethodInCurrentClass()
1293 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/false)) in findMethodInCurrentClass()
1295 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*Instance=*/false)) in findMethodInCurrentClass()
1308 ObjCMethodDecl *Method = LookupInstanceMethodInGlobalPool(Sel, in ParseObjCSelectorExpression()
1314 if (const ObjCMethodDecl *OM = SelectorsForTypoCorrection(Sel)) { in ParseObjCSelectorExpression()
1330 ObjCMethodDecl *GlobalDirectMethod = in ParseObjCSelectorExpression()
1342 ObjCMethodDecl *LikelyTargetMethod = in ParseObjCSelectorExpression()
1427 ObjCMethodDecl *SemaObjC::tryCaptureObjCSelf(SourceLocation Loc) { in tryCaptureObjCSelf()
1433 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); in tryCaptureObjCSelf()
1468 ObjCMethodDecl *Method, in getBaseMessageSendResultType()
1507 if (ObjCMethodDecl *CurMethod = S.getCurMethodDecl()) in getBaseMessageSendResultType()
1533 ObjCMethodDecl *Method, in getMessageSendResultType()
1553 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>( in getMessageSendResultType()
1634 static const ObjCMethodDecl *
1635 findExplicitInstancetypeDeclarer(const ObjCMethodDecl *MD, in findExplicitInstancetypeDeclarer()
1652 const ObjCMethodDecl *ifaceMD = in findExplicitInstancetypeDeclarer()
1657 SmallVector<const ObjCMethodDecl *, 4> overrides; in findExplicitInstancetypeDeclarer()
1660 if (const ObjCMethodDecl *result = in findExplicitInstancetypeDeclarer()
1672 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SemaRef.CurContext); in EmitRelatedResultTypeNoteForReturn()
1679 if (const ObjCMethodDecl *overridden = in EmitRelatedResultTypeNoteForReturn()
1705 const ObjCMethodDecl *Method = MsgSend->getMethodDecl(); in EmitRelatedResultTypeNote()
1727 Selector Sel, ArrayRef<SourceLocation> SelectorLocs, ObjCMethodDecl *Method, in CheckMessageArgumentTypes()
1763 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); in CheckMessageArgumentTypes()
1936 ObjCMethodDecl *Method = dyn_cast_or_null<ObjCMethodDecl>( in isSelfExpr()
1941 bool SemaObjC::isSelfExpr(Expr *receiver, const ObjCMethodDecl *method) { in isSelfExpr()
1952 ObjCMethodDecl *SemaObjC::LookupMethodInObjectType(Selector sel, QualType type, in LookupMethodInObjectType()
1957 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1962 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1968 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1976 ObjCMethodDecl *SemaObjC::LookupMethodInQualifiedType( in LookupMethodInQualifiedType()
1978 ObjCMethodDecl *MD = nullptr; in LookupMethodInQualifiedType()
2050 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr()
2069 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); in HandleExprPropertyRefExpr()
2183 if (ObjCMethodDecl *CurMethod = tryCaptureObjCSelf(receiverNameLoc)) { in ActOnClassPropertyRefExpr()
2231 ObjCMethodDecl *Getter = IFace->lookupClassMethod(GetterSel); in ActOnClassPropertyRefExpr()
2245 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); in ActOnClassPropertyRefExpr()
2277 ObjCInterfaceOrSuperCCC(ObjCMethodDecl *Method) { in ObjCInterfaceOrSuperCCC()
2317 if (ObjCMethodDecl *Method = SemaRef.getCurMethodDecl()) { in getObjCMessageKind()
2399 ObjCMethodDecl *Method = tryCaptureObjCSelf(SuperLoc); in ActOnSuperMessage()
2445 ObjCMethodDecl *Method, in BuildClassMessageImplicit()
2506 const ObjCMethodDecl *Method, in checkFoundationAPI()
2517 ObjCMethodDecl *ImpliedMethod; in checkFoundationAPI()
2555 ObjCMethodDecl *Method, in DiagnoseCStringFormatDirectiveInObjCAPI()
2620 SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, in BuildClassMessage()
2729 } else if (ObjCMethodDecl *CurMeth = SemaRef.getCurMethodDecl()) { in BuildClassMessage()
2789 ObjCMethodDecl *Method, MultiExprArg Args) { in BuildInstanceMessageImplicit()
2796 static bool isMethodDeclaredInRootProtocol(Sema &S, const ObjCMethodDecl *M) { in isMethodDeclaredInRootProtocol()
2845 Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, in BuildInstanceMessage()
2958 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
2967 if (ObjCMethodDecl *BestMethod = SemaRef.SelectBestMethod( in BuildInstanceMessage()
2998 if (ObjCMethodDecl *CurMeth = SemaRef.getCurMethodDecl()) { in BuildInstanceMessage()
3018 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
3037 if (ObjCMethodDecl *BestMethod = SemaRef.SelectBestMethod( in BuildInstanceMessage()
3105 SmallVector<ObjCMethodDecl*, 4> Methods; in BuildInstanceMessage()
3114 if (ObjCMethodDecl *BestMethod = SemaRef.SelectBestMethod( in BuildInstanceMessage()
3208 const ObjCMethodDecl *InitMethod = nullptr; in BuildInstanceMessage()
3286 ObjCMethodDecl *SelMethod = in BuildInstanceMessage()
3375 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(SemaRef.CurContext); in BuildInstanceMessage()
3708 ObjCMethodDecl *method; in VisitObjCPropertyRefExpr()
3716 ACCResult checkCallToMethod(ObjCMethodDecl *method) { in checkCallToMethod()
4201 if (ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) in CheckObjCBridgeRelatedCast()
4233 ObjCInterfaceDecl *&RelatedClass, ObjCMethodDecl *&ClassMethod, in checkObjCBridgeRelatedComponents()
4234 ObjCMethodDecl *&InstanceMethod, TypedefNameDecl *&TDNDecl, bool CfToNs, in checkObjCBridgeRelatedComponents()
4317 ObjCMethodDecl *ClassMethod = nullptr; in CheckObjCBridgeRelatedConversions()
4318 ObjCMethodDecl *InstanceMethod = nullptr; in CheckObjCBridgeRelatedConversions()
4783 ObjCMethodDecl *CurMethod = SemaRef.getCurMethodDecl(); in LookupIvarInObjCMethod()
4874 ObjCMethodDecl *CurMethod = SemaRef.getCurMethodDecl(); in BuildIvarRefExpr()