Lines Matching refs:ObjCMethodDecl

91 ObjCMethodDecl *
112 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod()
130 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod()
139 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod()
553 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
575 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
595 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
603 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
692 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
703 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
749 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
759 ObjCMethodDecl *Method = nullptr; in lookupPrivateMethod()
788 ObjCMethodDecl::ObjCMethodDecl( in ObjCMethodDecl() function in ObjCMethodDecl
818 ObjCMethodDecl *ObjCMethodDecl::Create( in Create()
825 return new (C, contextDecl) ObjCMethodDecl( in Create()
831 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
832 return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
836 bool ObjCMethodDecl::isDirectMethod() const { in isDirectMethod()
841 bool ObjCMethodDecl::isThisDeclarationADesignatedInitializer() const { in isThisDeclarationADesignatedInitializer()
846 bool ObjCMethodDecl::definedInNSObject(const ASTContext &Ctx) const { in definedInNSObject()
854 bool ObjCMethodDecl::isDesignatedInitializerForTheInterface( in isDesignatedInitializerForTheInterface()
855 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializerForTheInterface()
866 bool ObjCMethodDecl::hasParamDestroyedInCallee() const { in hasParamDestroyedInCallee()
874 Stmt *ObjCMethodDecl::getBody() const { in getBody()
878 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration()
885 void ObjCMethodDecl::setParamsAndSelLocs(ASTContext &C, in setParamsAndSelLocs()
903 void ObjCMethodDecl::getSelectorLocs( in getSelectorLocs()
909 void ObjCMethodDecl::setMethodParams(ASTContext &C, in setMethodParams()
928 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl()
930 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl()
932 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl()
977 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl()
989 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
992 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
997 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1003 ObjCMethodDecl *MD = in getCanonicalDecl()
1012 SourceLocation ObjCMethodDecl::getEndLoc() const { in getEndLoc()
1018 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily()
1085 ObjCMethodDecl::param_type_iterator it = param_type_begin(); in getMethodFamily()
1110 QualType ObjCMethodDecl::getSelfType(ASTContext &Context, in getSelfType()
1155 void ObjCMethodDecl::createImplicitParams(ASTContext &Context, in createImplicitParams()
1176 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1188 ObjCCategoryDecl *ObjCMethodDecl::getCategory() { in getCategory()
1196 SourceRange ObjCMethodDecl::getReturnTypeSourceRange() const { in getReturnTypeSourceRange()
1203 QualType ObjCMethodDecl::getSendResultType() const { in getSendResultType()
1209 QualType ObjCMethodDecl::getSendResultType(QualType receiverType) const { in getSendResultType()
1218 const ObjCMethodDecl *Method, in CollectOverriddenMethodsRecurse()
1219 SmallVectorImpl<const ObjCMethodDecl *> &Methods, in CollectOverriddenMethodsRecurse()
1231 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1248 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1278 const ObjCMethodDecl *Method, in CollectOverriddenMethods()
1279 SmallVectorImpl<const ObjCMethodDecl *> &Methods) { in CollectOverriddenMethods()
1284 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, in collectOverriddenMethodsSlow()
1285 SmallVectorImpl<const ObjCMethodDecl *> &overridden) { in collectOverriddenMethodsSlow()
1299 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1312 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1325 void ObjCMethodDecl::getOverriddenMethods( in getOverriddenMethods()
1326 SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const { in getOverriddenMethods()
1327 const ObjCMethodDecl *Method = this; in getOverriddenMethods()
1343 ObjCMethodDecl::findPropertyDecl(bool CheckOverrides) const { in findPropertyDecl()
1421 using OverridesTy = SmallVector<const ObjCMethodDecl *, 8>; in findPropertyDecl()
1735 ObjCMethodDecl *
1739 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel)) in getCategoryInstanceMethod()
1746 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1749 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel)) in getCategoryClassMethod()
1968 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod()
1970 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()