Lines Matching refs:ObjCMethodDecl

43 bool Sema::checkInitMethod(ObjCMethodDecl *method,  in checkInitMethod()
113 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
114 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride()
175 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride()
177 for (ObjCMethodDecl::param_iterator in CheckObjCMethodOverride()
195 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
269 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool()
303 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
367 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
420 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef()
1655 llvm::DenseMap<Selector, const ObjCMethodDecl*> MethodMap; in DiagnoseClassExtensionDupMethods()
1662 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
2088 ObjCMethodDecl *method, in WarnUndefinedMethod()
2201 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideReturn()
2202 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn()
2285 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideParam()
2286 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam()
2369 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl, in checkMethodFamilyMismatch()
2370 ObjCMethodDecl *decl) { in checkMethodFamilyMismatch()
2383 const ObjCMethodDecl *unmatched = impl; in checkMethodFamilyMismatch()
2439 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods()
2440 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods()
2450 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnConflictingTypedMethods()
2465 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod()
2466 ObjCMethodDecl *Overridden, in CheckConflictingOverridingMethod()
2473 for (ObjCMethodDecl::param_iterator IM = Method->param_begin(), in CheckConflictingOverridingMethod()
2490 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods()
2491 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods()
2496 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional) in WarnExactTypedMethods()
2507 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnExactTypedMethods()
2634 if (method->getImplementationControl() != ObjCMethodDecl::Optional && in CheckProtocolMethodDefs()
2651 if (ObjCMethodDecl *MethodInClass = in CheckProtocolMethodDefs()
2667 if (method->getImplementationControl() != ObjCMethodDecl::Optional && in CheckProtocolMethodDefs()
2717 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
2742 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
3114 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left, in MatchTwoMethodDeclarations()
3115 const ObjCMethodDecl *right, in MatchTwoMethodDeclarations()
3132 ObjCMethodDecl::param_const_iterator in MatchTwoMethodDeclarations()
3151 ObjCMethodDecl *Method) { in addMethodToGlobalList()
3183 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3225 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, in AddMethodToGlobalPool()
3250 static bool isAcceptableMethodMismatch(ObjCMethodDecl *chosen, in isAcceptableMethodMismatch()
3251 ObjCMethodDecl *other) { in isAcceptableMethodMismatch()
3265 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, bool instance) { in CollectMultipleMethodsInGlobalPool()
3280 bool Sema::AreMultipleMethodsInGlobalPool(Selector Sel, ObjCMethodDecl *BestMethod, in AreMultipleMethodsInGlobalPool()
3292 SmallVector<ObjCMethodDecl *, 4> Methods; in AreMultipleMethodsInGlobalPool()
3295 if (ObjCMethodDecl *M = ML->getMethod()) in AreMultipleMethodsInGlobalPool()
3304 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool()
3316 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool()
3324 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool()
3378 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool()
3402 SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, in HelperSelectorsForTypoCorrection()
3403 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection()
3433 const ObjCMethodDecl *
3437 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection()
3483 SmallVector<const ObjCMethodDecl *, 8> SelectedMethods; in SelectorsForTypoCorrection()
3566 llvm::DenseMap<Selector, const ObjCMethodDecl*> InsMap; in ActOnAtEnd()
3567 llvm::DenseMap<Selector, const ObjCMethodDecl*> ClsMap; in ActOnAtEnd()
3570 ObjCMethodDecl *Method = in ActOnAtEnd()
3571 cast_or_null<ObjCMethodDecl>(allMethods[i]); in ActOnAtEnd()
3576 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd()
3600 const ObjCMethodDecl *&PrevMethod = ClsMap[Method->getSelector()]; in ActOnAtEnd()
3662 if (ObjCMethodDecl *GetterMethod in ActOnAtEnd()
3666 if (ObjCMethodDecl *SetterMethod in ActOnAtEnd()
3763 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, in CheckRelatedResultTypeCompatibility()
3804 ObjCMethodDecl *Method;
3805 llvm::SmallPtrSet<ObjCMethodDecl*, 4> Overridden;
3809 OverrideSearch(Sema &S, ObjCMethodDecl *method) : S(S), Method(method) { in OverrideSearch()
3842 typedef llvm::SmallPtrSet<ObjCMethodDecl*, 128>::iterator iterator;
3926 ObjCMethodDecl *meth = container->getMethod(Method->getSelector(), in search()
3947 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, in CheckObjCMethodOverrides()
3960 ObjCMethodDecl *overridden = *i; in CheckObjCMethodOverrides()
3990 ObjCMethodDecl *SuperOverridden = *OI; in CheckObjCMethodOverrides()
4023 ObjCMethodDecl::param_iterator ParamI = ObjCMethod->param_begin(), in CheckObjCMethodOverrides()
4025 ObjCMethodDecl::param_iterator PrevI = overridden->param_begin(), in CheckObjCMethodOverrides()
4089 ObjCMethodDecl *method, in mergeInterfaceMethodToImpl()
4090 ObjCMethodDecl *prevMethod) { in mergeInterfaceMethodToImpl()
4168 ObjCMethodDecl *ObjCMethod = ObjCMethodDecl::Create( in ActOnMethodDeclaration()
4173 MethodDeclKind == tok::objc_optional ? ObjCMethodDecl::Optional in ActOnMethodDeclaration()
4174 : ObjCMethodDecl::Required, in ActOnMethodDeclaration()
4252 const ObjCMethodDecl *PrevMethod = nullptr; in ActOnMethodDeclaration()
4543 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, in GetIvarBackingPropertyAccessor()
4574 const ObjCMethodDecl *Method;
4579 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method, in UnusedBackingIvarChecker()