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()
364 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
437 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
488 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef()
1744 llvm::DenseMap<Selector, const ObjCMethodDecl*> MethodMap; in DiagnoseClassExtensionDupMethods()
1751 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods()
2192 ObjCMethodDecl *method, in WarnUndefinedMethod()
2297 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideReturn()
2298 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideReturn()
2381 ObjCMethodDecl *MethodImpl, in CheckMethodOverrideParam()
2382 ObjCMethodDecl *MethodDecl, in CheckMethodOverrideParam()
2465 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl, in checkMethodFamilyMismatch()
2466 ObjCMethodDecl *decl) { in checkMethodFamilyMismatch()
2479 const ObjCMethodDecl *unmatched = impl; in checkMethodFamilyMismatch()
2535 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods()
2536 ObjCMethodDecl *MethodDecl, in WarnConflictingTypedMethods()
2546 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnConflictingTypedMethods()
2561 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod()
2562 ObjCMethodDecl *Overridden, in CheckConflictingOverridingMethod()
2569 for (ObjCMethodDecl::param_iterator IM = Method->param_begin(), in CheckConflictingOverridingMethod()
2586 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods()
2587 ObjCMethodDecl *MethodDecl, in WarnExactTypedMethods()
2592 if (MethodDecl->getImplementationControl() == ObjCMethodDecl::Optional) in WarnExactTypedMethods()
2603 for (ObjCMethodDecl::param_iterator IM = ImpMethodDecl->param_begin(), in WarnExactTypedMethods()
2730 if (method->getImplementationControl() != ObjCMethodDecl::Optional && in CheckProtocolMethodDefs()
2747 if (ObjCMethodDecl *MethodInClass = in CheckProtocolMethodDefs()
2763 if (method->getImplementationControl() != ObjCMethodDecl::Optional && in CheckProtocolMethodDefs()
2813 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
2839 ObjCMethodDecl *ImpMethodDecl = in MatchAllMethodDeclarations()
3213 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left, in MatchTwoMethodDeclarations()
3214 const ObjCMethodDecl *right, in MatchTwoMethodDeclarations()
3231 ObjCMethodDecl::param_const_iterator in MatchTwoMethodDeclarations()
3249 static bool isMethodContextSameForKindofLookup(ObjCMethodDecl *Method, in isMethodContextSameForKindofLookup()
3250 ObjCMethodDecl *MethodInList) { in isMethodContextSameForKindofLookup()
3270 ObjCMethodDecl *Method) { in addMethodToGlobalList()
3327 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3385 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, in AddMethodToGlobalPool()
3410 static bool isAcceptableMethodMismatch(ObjCMethodDecl *chosen, in isAcceptableMethodMismatch()
3411 ObjCMethodDecl *other) { in isAcceptableMethodMismatch()
3425 static bool FilterMethodsByTypeBound(ObjCMethodDecl *Method, in FilterMethodsByTypeBound()
3460 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool()
3499 Selector Sel, ObjCMethodDecl *BestMethod, SourceRange R, in AreMultipleMethodsInGlobalPool()
3500 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool()
3502 SmallVector<ObjCMethodDecl *, 4> FilteredMethods; in AreMultipleMethodsInGlobalPool()
3523 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool()
3535 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool()
3543 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool()
3597 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool()
3621 SmallVectorImpl<const ObjCMethodDecl *> &BestMethod, in HelperSelectorsForTypoCorrection()
3622 StringRef Typo, const ObjCMethodDecl * Method) { in HelperSelectorsForTypoCorrection()
3652 const ObjCMethodDecl *
3656 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection()
3702 SmallVector<const ObjCMethodDecl *, 8> SelectedMethods; in SelectorsForTypoCorrection()
3895 llvm::DenseMap<Selector, const ObjCMethodDecl*> InsMap; in ActOnAtEnd()
3896 llvm::DenseMap<Selector, const ObjCMethodDecl*> ClsMap; in ActOnAtEnd()
3899 ObjCMethodDecl *Method = in ActOnAtEnd()
3900 cast_or_null<ObjCMethodDecl>(allMethods[i]); in ActOnAtEnd()
3905 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd()
3929 const ObjCMethodDecl *&PrevMethod = ClsMap[Method->getSelector()]; in ActOnAtEnd()
3992 if (ObjCMethodDecl *GetterMethod in ActOnAtEnd()
3996 if (ObjCMethodDecl *SetterMethod in ActOnAtEnd()
4115 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, in CheckRelatedResultTypeCompatibility()
4156 ObjCMethodDecl *Method;
4157 llvm::SmallSetVector<ObjCMethodDecl*, 4> Overridden;
4161 OverrideSearch(Sema &S, ObjCMethodDecl *method) : S(S), Method(method) { in OverrideSearch()
4278 ObjCMethodDecl *meth = container->getMethod(Method->getSelector(), in search()
4299 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, in CheckObjCMethodOverrides()
4312 ObjCMethodDecl *overridden = *i; in CheckObjCMethodOverrides()
4342 ObjCMethodDecl *SuperOverridden = *OI; in CheckObjCMethodOverrides()
4375 ObjCMethodDecl::param_iterator ParamI = ObjCMethod->param_begin(), in CheckObjCMethodOverrides()
4377 ObjCMethodDecl::param_iterator PrevI = overridden->param_begin(), in CheckObjCMethodOverrides()
4441 ObjCMethodDecl *method, in mergeInterfaceMethodToImpl()
4442 ObjCMethodDecl *prevMethod) { in mergeInterfaceMethodToImpl()
4484 const ObjCMethodDecl *Method) { in checkObjCMethodX86VectorTypes()
4559 ObjCMethodDecl *ObjCMethod = ObjCMethodDecl::Create( in ActOnMethodDeclaration()
4564 MethodDeclKind == tok::objc_optional ? ObjCMethodDecl::Optional in ActOnMethodDeclaration()
4565 : ObjCMethodDecl::Required, in ActOnMethodDeclaration()
4644 const ObjCMethodDecl *PrevMethod = nullptr; in ActOnMethodDeclaration()
4974 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, in GetIvarBackingPropertyAccessor()
5005 const ObjCMethodDecl *Method;
5010 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method, in UnusedBackingIvarChecker()