Lines Matching refs:ObjCMethodDecl

42 bool Sema::checkInitMethod(ObjCMethodDecl *method,  in checkInitMethod()
133 << cast<ObjCMethodDecl>(NewD->getDeclContext()); in diagnoseNoescape()
136 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
137 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride()
203 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride()
205 for (ObjCMethodDecl::param_iterator ni = NewMethod->param_begin(), in CheckObjCMethodOverride()
225 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
292 if (isa<ObjCMethodDecl>(ND)) { in DiagnoseObjCImplementedDeprecations()
315 << (isa<ObjCMethodDecl>(ND) in DiagnoseObjCImplementedDeprecations()
319 if (isa<ObjCMethodDecl>(ND)) in DiagnoseObjCImplementedDeprecations()
330 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool()
365 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
438 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
489 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef()
1770 llvm::DenseMap<Selector, const ObjCMethodDecl*> MethodMap; in DiagnoseClassExtensionDupMethods()
1777 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
2235 ObjCMethodDecl *method, bool &IncompleteImpl, in WarnUndefinedMethod()
2346 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideReturn()
2347 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn()
2426 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideParam()
2427 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam()
2508 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl, in checkMethodFamilyMismatch()
2509 ObjCMethodDecl *decl) { in checkMethodFamilyMismatch()
2522 const ObjCMethodDecl *unmatched = impl; in checkMethodFamilyMismatch()
2578 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods()
2579 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods()
2589 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnConflictingTypedMethods()
2604 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod()
2605 ObjCMethodDecl *Overridden, in CheckConflictingOverridingMethod()
2612 for (ObjCMethodDecl::param_iterator IM = Method->param_begin(), in CheckConflictingOverridingMethod()
2629 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods()
2630 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods()
2647 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnExactTypedMethods()
2786 if (ObjCMethodDecl *MethodInClass = IDecl->lookupMethod( in CheckProtocolMethodDefs()
2849 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
2878 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
3257 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left, in MatchTwoMethodDeclarations()
3258 const ObjCMethodDecl *right, in MatchTwoMethodDeclarations()
3278 ObjCMethodDecl::param_const_iterator in MatchTwoMethodDeclarations()
3296 static bool isMethodContextSameForKindofLookup(ObjCMethodDecl *Method, in isMethodContextSameForKindofLookup()
3297 ObjCMethodDecl *MethodInList) { in isMethodContextSameForKindofLookup()
3317 ObjCMethodDecl *Method) { in addMethodToGlobalList()
3374 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3432 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, in AddMethodToGlobalPool()
3459 static bool isAcceptableMethodMismatch(ObjCMethodDecl *chosen, in isAcceptableMethodMismatch()
3460 ObjCMethodDecl *other) { in isAcceptableMethodMismatch()
3477 static bool FilterMethodsByTypeBound(ObjCMethodDecl *Method, in FilterMethodsByTypeBound()
3512 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool()
3551 Selector Sel, ObjCMethodDecl *BestMethod, SourceRange R, in AreMultipleMethodsInGlobalPool()
3552 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool()
3554 SmallVector<ObjCMethodDecl *, 4> FilteredMethods; in AreMultipleMethodsInGlobalPool()
3575 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool()
3587 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool()
3595 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool()
3649 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool()
3673 SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, in HelperSelectorsForTypoCorrection()
3674 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection()
3704 const ObjCMethodDecl *
3708 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection()
3754 SmallVector<const ObjCMethodDecl *, 8> SelectedMethods; in SelectorsForTypoCorrection()
4011 llvm::DenseMap<Selector, const ObjCMethodDecl*> InsMap; in ActOnAtEnd()
4012 llvm::DenseMap<Selector, const ObjCMethodDecl*> ClsMap; in ActOnAtEnd()
4015 ObjCMethodDecl *Method = in ActOnAtEnd()
4016 cast_or_null<ObjCMethodDecl>(allMethods[i]); in ActOnAtEnd()
4021 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd()
4045 const ObjCMethodDecl *&PrevMethod = ClsMap[Method->getSelector()]; in ActOnAtEnd()
4110 if (ObjCMethodDecl *GetterMethod = in ActOnAtEnd()
4114 if (ObjCMethodDecl *SetterMethod in ActOnAtEnd()
4240 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, in CheckRelatedResultTypeCompatibility()
4280 const ObjCMethodDecl *Method;
4281 llvm::SmallSetVector<ObjCMethodDecl*, 4> Overridden;
4285 OverrideSearch(Sema &S, const ObjCMethodDecl *method) : Method(method) { in OverrideSearch()
4402 ObjCMethodDecl *meth = container->getMethod(Method->getSelector(), in search()
4423 void Sema::CheckObjCMethodDirectOverrides(ObjCMethodDecl *method, in CheckObjCMethodDirectOverrides()
4424 ObjCMethodDecl *overridden) { in CheckObjCMethodDirectOverrides()
4437 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, in CheckObjCMethodOverrides()
4442 auto IsMethodInCurrentClass = [CurrentClass](const ObjCMethodDecl *M) { in CheckObjCMethodOverrides()
4455 for (ObjCMethodDecl *overridden : overrides) { in CheckObjCMethodOverrides()
4481 for (ObjCMethodDecl *SuperOverridden : overrides) { in CheckObjCMethodOverrides()
4515 ObjCMethodDecl::param_iterator ParamI = ObjCMethod->param_begin(), in CheckObjCMethodOverrides()
4517 ObjCMethodDecl::param_iterator PrevI = overridden->param_begin(), in CheckObjCMethodOverrides()
4581 ObjCMethodDecl *method, in mergeInterfaceMethodToImpl()
4582 ObjCMethodDecl *prevMethod) { in mergeInterfaceMethodToImpl()
4624 const ObjCMethodDecl *Method) { in checkObjCMethodX86VectorTypes()
4664 static void mergeObjCDirectMembers(Sema &S, Decl *CD, ObjCMethodDecl *Method) { in mergeObjCDirectMembers()
4673 ObjCMethodDecl *Method, in checkObjCDirectMethodClashes()
4679 auto diagClash = [&](const ObjCMethodDecl *IMD) { in checkObjCDirectMethodClashes()
4756 ObjCMethodDecl *ObjCMethod = ObjCMethodDecl::Create( in ActOnMethodDeclaration()
4842 const ObjCMethodDecl *PrevMethod = nullptr; in ActOnMethodDeclaration()
4880 const ObjCMethodDecl *CanonicalMD = ObjCMethod->getCanonicalDecl(); in ActOnMethodDeclaration()
5278 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, in GetIvarBackingPropertyAccessor()
5309 const ObjCMethodDecl *Method;
5314 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method, in UnusedBackingIvarChecker()