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()
541 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
563 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
583 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
591 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
684 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
695 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
741 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
751 ObjCMethodDecl *Method = nullptr; in lookupPrivateMethod()
780 ObjCMethodDecl::ObjCMethodDecl( in ObjCMethodDecl() function in ObjCMethodDecl
810 ObjCMethodDecl *ObjCMethodDecl::Create( in Create()
817 return new (C, contextDecl) ObjCMethodDecl( in Create()
823 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
824 return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
828 bool ObjCMethodDecl::isDirectMethod() const { in isDirectMethod()
833 bool ObjCMethodDecl::isThisDeclarationADesignatedInitializer() const { in isThisDeclarationADesignatedInitializer()
838 bool ObjCMethodDecl::definedInNSObject(const ASTContext &Ctx) const { in definedInNSObject()
846 bool ObjCMethodDecl::isDesignatedInitializerForTheInterface( in isDesignatedInitializerForTheInterface()
847 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializerForTheInterface()
858 Stmt *ObjCMethodDecl::getBody() const { in getBody()
862 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration()
869 void ObjCMethodDecl::setParamsAndSelLocs(ASTContext &C, in setParamsAndSelLocs()
887 void ObjCMethodDecl::getSelectorLocs( in getSelectorLocs()
893 void ObjCMethodDecl::setMethodParams(ASTContext &C, in setMethodParams()
912 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl()
914 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl()
916 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl()
961 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl()
973 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
976 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
981 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
987 ObjCMethodDecl *MD = in getCanonicalDecl()
996 SourceLocation ObjCMethodDecl::getEndLoc() const { in getEndLoc()
1002 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily()
1069 ObjCMethodDecl::param_type_iterator it = param_type_begin(); in getMethodFamily()
1094 QualType ObjCMethodDecl::getSelfType(ASTContext &Context, in getSelfType()
1139 void ObjCMethodDecl::createImplicitParams(ASTContext &Context, in createImplicitParams()
1160 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1172 ObjCCategoryDecl *ObjCMethodDecl::getCategory() { in getCategory()
1180 SourceRange ObjCMethodDecl::getReturnTypeSourceRange() const { in getReturnTypeSourceRange()
1187 QualType ObjCMethodDecl::getSendResultType() const { in getSendResultType()
1193 QualType ObjCMethodDecl::getSendResultType(QualType receiverType) const { in getSendResultType()
1202 const ObjCMethodDecl *Method, in CollectOverriddenMethodsRecurse()
1203 SmallVectorImpl<const ObjCMethodDecl *> &Methods, in CollectOverriddenMethodsRecurse()
1215 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1232 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1262 const ObjCMethodDecl *Method, in CollectOverriddenMethods()
1263 SmallVectorImpl<const ObjCMethodDecl *> &Methods) { in CollectOverriddenMethods()
1268 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, in collectOverriddenMethodsSlow()
1269 SmallVectorImpl<const ObjCMethodDecl *> &overridden) { in collectOverriddenMethodsSlow()
1283 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1296 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1309 void ObjCMethodDecl::getOverriddenMethods( in getOverriddenMethods()
1310 SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const { in getOverriddenMethods()
1311 const ObjCMethodDecl *Method = this; in getOverriddenMethods()
1327 ObjCMethodDecl::findPropertyDecl(bool CheckOverrides) const { in findPropertyDecl()
1405 using OverridesTy = SmallVector<const ObjCMethodDecl *, 8>; in findPropertyDecl()
1714 ObjCMethodDecl *
1718 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel)) in getCategoryInstanceMethod()
1725 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1728 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel)) in getCategoryClassMethod()
1947 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod()
1949 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()