Lines Matching defs:ObjCMethodDecl
90 ObjCMethodDecl *
111 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth);
129 auto *MD = dyn_cast<ObjCMethodDecl>(*Meth);
138 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel))
547 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const {
569 const ObjCMethodDecl **InitMethod) const {
589 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) {
597 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) {
697 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel,
708 ObjCMethodDecl *MethodDecl = nullptr;
754 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod(
764 ObjCMethodDecl *Method = nullptr;
817 // ObjCMethodDecl
820 ObjCMethodDecl::ObjCMethodDecl(
850 ObjCMethodDecl *ObjCMethodDecl::Create(
857 return new (C, contextDecl) ObjCMethodDecl(
863 ObjCMethodDecl *ObjCMethodDecl::CreateDeserialized(ASTContext &C,
865 return new (C, ID) ObjCMethodDecl(SourceLocation(), SourceLocation(),
869 bool ObjCMethodDecl::isDirectMethod() const {
874 bool ObjCMethodDecl::isThisDeclarationADesignatedInitializer() const {
879 bool ObjCMethodDecl::definedInNSObject(const ASTContext &Ctx) const {
887 bool ObjCMethodDecl::isDesignatedInitializerForTheInterface(
888 const ObjCMethodDecl **InitMethod) const {
899 bool ObjCMethodDecl::hasParamDestroyedInCallee() const {
907 Stmt *ObjCMethodDecl::getBody() const {
911 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) {
918 void ObjCMethodDecl::setParamsAndSelLocs(ASTContext &C,
936 void ObjCMethodDecl::getSelectorLocs(
942 void ObjCMethodDecl::setMethodParams(ASTContext &C,
961 ObjCMethodDecl *ObjCMethodDecl::getNextRedeclarationImpl() {
963 ObjCMethodDecl *Redecl = nullptr;
965 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this));
1010 ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() {
1022 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod()))
1025 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod()))
1030 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod()))
1036 ObjCMethodDecl *MD =
1045 SourceLocation ObjCMethodDecl::getEndLoc() const {
1051 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const {
1118 ObjCMethodDecl::param_type_iterator it = param_type_begin();
1143 QualType ObjCMethodDecl::getSelfType(ASTContext &Context,
1188 void ObjCMethodDecl::createImplicitParams(ASTContext &Context,
1209 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() {
1221 ObjCCategoryDecl *ObjCMethodDecl::getCategory() {
1229 SourceRange ObjCMethodDecl::getReturnTypeSourceRange() const {
1236 QualType ObjCMethodDecl::getSendResultType() const {
1242 QualType ObjCMethodDecl::getSendResultType(QualType receiverType) const {
1251 const ObjCMethodDecl *Method,
1252 SmallVectorImpl<const ObjCMethodDecl *> &Methods,
1264 if (ObjCMethodDecl *
1281 if (const ObjCMethodDecl *
1311 const ObjCMethodDecl *Method,
1312 SmallVectorImpl<const ObjCMethodDecl *> &Methods) {
1317 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method,
1318 SmallVectorImpl<const ObjCMethodDecl *> &overridden) {
1332 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(),
1345 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(),
1358 void ObjCMethodDecl::getOverriddenMethods(
1359 SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const {
1360 const ObjCMethodDecl *Method = this;
1371 "ObjCMethodDecl's overriding bit is not as expected");
1376 ObjCMethodDecl::findPropertyDecl(bool CheckOverrides) const {
1454 using OverridesTy = SmallVector<const ObjCMethodDecl *, 8>;
1762 ObjCMethodDecl *
1766 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel))
1773 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
1776 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel))
1995 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1997 ObjCMethodDecl *MethodDecl = nullptr;