Lines Matching refs:ObjCMethodDecl

92 ObjCMethodDecl *
113 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod()
131 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod()
140 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod()
549 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
571 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
591 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
599 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
699 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
710 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
756 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
766 ObjCMethodDecl *Method = nullptr; in lookupPrivateMethod()
822 ObjCMethodDecl::ObjCMethodDecl( in ObjCMethodDecl() function in ObjCMethodDecl
852 ObjCMethodDecl *ObjCMethodDecl::Create( in Create()
859 return new (C, contextDecl) ObjCMethodDecl( in Create()
865 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
867 return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
871 bool ObjCMethodDecl::isDirectMethod() const { in isDirectMethod()
876 bool ObjCMethodDecl::isThisDeclarationADesignatedInitializer() const { in isThisDeclarationADesignatedInitializer()
881 bool ObjCMethodDecl::definedInNSObject(const ASTContext &Ctx) const { in definedInNSObject()
889 bool ObjCMethodDecl::isDesignatedInitializerForTheInterface( in isDesignatedInitializerForTheInterface()
890 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializerForTheInterface()
901 bool ObjCMethodDecl::hasParamDestroyedInCallee() const { in hasParamDestroyedInCallee()
909 Stmt *ObjCMethodDecl::getBody() const { in getBody()
913 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration()
920 void ObjCMethodDecl::setParamsAndSelLocs(ASTContext &C, in setParamsAndSelLocs()
938 void ObjCMethodDecl::getSelectorLocs( in getSelectorLocs()
944 void ObjCMethodDecl::setMethodParams(ASTContext &C, in setMethodParams()
963 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() { in getNextRedeclarationImpl()
965 ObjCMethodDecl *Redecl = nullptr; in getNextRedeclarationImpl()
967 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this)); in getNextRedeclarationImpl()
1012 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { in getCanonicalDecl()
1024 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1027 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1032 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1038 ObjCMethodDecl *MD = in getCanonicalDecl()
1047 SourceLocation ObjCMethodDecl::getEndLoc() const { in getEndLoc()
1053 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily()
1120 ObjCMethodDecl::param_type_iterator it = param_type_begin(); in getMethodFamily()
1145 QualType ObjCMethodDecl::getSelfType(ASTContext &Context, in getSelfType()
1190 void ObjCMethodDecl::createImplicitParams(ASTContext &Context, in createImplicitParams()
1211 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1223 ObjCCategoryDecl *ObjCMethodDecl::getCategory() { in getCategory()
1231 SourceRange ObjCMethodDecl::getReturnTypeSourceRange() const { in getReturnTypeSourceRange()
1238 QualType ObjCMethodDecl::getSendResultType() const { in getSendResultType()
1244 QualType ObjCMethodDecl::getSendResultType(QualType receiverType) const { in getSendResultType()
1253 const ObjCMethodDecl *Method, in CollectOverriddenMethodsRecurse()
1254 SmallVectorImpl<const ObjCMethodDecl *> &Methods, in CollectOverriddenMethodsRecurse()
1266 if (ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1283 if (const ObjCMethodDecl * in CollectOverriddenMethodsRecurse()
1313 const ObjCMethodDecl *Method, in CollectOverriddenMethods()
1314 SmallVectorImpl<const ObjCMethodDecl *> &Methods) { in CollectOverriddenMethods()
1319 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, in collectOverriddenMethodsSlow()
1320 SmallVectorImpl<const ObjCMethodDecl *> &overridden) { in collectOverriddenMethodsSlow()
1334 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1347 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1360 void ObjCMethodDecl::getOverriddenMethods( in getOverriddenMethods()
1361 SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const { in getOverriddenMethods()
1362 const ObjCMethodDecl *Method = this; in getOverriddenMethods()
1378 ObjCMethodDecl::findPropertyDecl(bool CheckOverrides) const { in findPropertyDecl()
1456 using OverridesTy = SmallVector<const ObjCMethodDecl *, 8>; in findPropertyDecl()
1764 ObjCMethodDecl *
1768 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel)) in getCategoryInstanceMethod()
1775 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1778 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel)) in getCategoryClassMethod()
1997 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod()
1999 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()