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()
540 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
562 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
582 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
590 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
683 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
694 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
740 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
750 ObjCMethodDecl *Method = nullptr; in lookupPrivateMethod()
779 ObjCMethodDecl::ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, in ObjCMethodDecl() function in ObjCMethodDecl
810 ObjCMethodDecl *ObjCMethodDecl::Create( in Create()
816 return new (C, contextDecl) ObjCMethodDecl( in Create()
822 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
823 return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
827 bool ObjCMethodDecl::isThisDeclarationADesignatedInitializer() const { in isThisDeclarationADesignatedInitializer()
832 bool ObjCMethodDecl::definedInNSObject(const ASTContext &Ctx) const { in definedInNSObject()
840 bool ObjCMethodDecl::isDesignatedInitializerForTheInterface( in isDesignatedInitializerForTheInterface()
841 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializerForTheInterface()
852 Stmt *ObjCMethodDecl::getBody() const { in getBody()
856 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration()
863 void ObjCMethodDecl::setParamsAndSelLocs(ASTContext &C, in setParamsAndSelLocs()
881 void ObjCMethodDecl::getSelectorLocs( in getSelectorLocs()
887 void ObjCMethodDecl::setMethodParams(ASTContext &C, in setMethodParams()
906 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl()
908 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl()
910 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl()
954 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl()
959 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl()
964 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl()
971 ObjCMethodDecl *MD = in getCanonicalDecl()
980 SourceLocation ObjCMethodDecl::getEndLoc() const { in getEndLoc()
986 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily()
1053 ObjCMethodDecl::param_type_iterator it = param_type_begin(); in getMethodFamily()
1078 QualType ObjCMethodDecl::getSelfType(ASTContext &Context, in getSelfType()
1123 void ObjCMethodDecl::createImplicitParams(ASTContext &Context, in createImplicitParams()
1144 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1156 SourceRange ObjCMethodDecl::getReturnTypeSourceRange() const { in getReturnTypeSourceRange()
1163 QualType ObjCMethodDecl::getSendResultType() const { in getSendResultType()
1169 QualType ObjCMethodDecl::getSendResultType(QualType receiverType) const { in getSendResultType()
1178 const ObjCMethodDecl *Method, in CollectOverriddenMethodsRecurse()
1179 SmallVectorImpl<const ObjCMethodDecl *> &Methods, in CollectOverriddenMethodsRecurse()
1191 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1208 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1238 const ObjCMethodDecl *Method, in CollectOverriddenMethods()
1239 SmallVectorImpl<const ObjCMethodDecl *> &Methods) { in CollectOverriddenMethods()
1244 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, in collectOverriddenMethodsSlow()
1245 SmallVectorImpl<const ObjCMethodDecl *> &overridden) { in collectOverriddenMethodsSlow()
1259 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1272 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1285 void ObjCMethodDecl::getOverriddenMethods( in getOverriddenMethods()
1286 SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const { in getOverriddenMethods()
1287 const ObjCMethodDecl *Method = this; in getOverriddenMethods()
1302 ObjCMethodDecl::findPropertyDecl(bool CheckOverrides) const { in findPropertyDecl()
1368 using OverridesTy = SmallVector<const ObjCMethodDecl *, 8>; in findPropertyDecl()
1679 ObjCMethodDecl *
1683 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel)) in getCategoryInstanceMethod()
1690 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1693 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel)) in getCategoryClassMethod()
1891 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod()
1893 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()