Lines Matching refs:ClassDecl
225 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local
226 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
600 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
601 while (ClassDecl != nullptr) { in lookupInstanceVariable()
602 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
603 clsDeclared = ClassDecl; in lookupInstanceVariable()
607 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
609 clsDeclared = ClassDecl; in lookupInstanceVariable()
614 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
631 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
632 while (ClassDecl != nullptr) { in lookupInheritedClass()
633 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
634 return ClassDecl; in lookupInheritedClass()
635 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
663 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
669 while (ClassDecl) { in lookupMethod()
671 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
675 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
681 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
687 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
703 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1270 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1272 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1273 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1277 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1281 if (ClassDecl) { in findPropertyDecl()
1282 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()