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