Lines Matching refs:ClassDecl
205 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local
206 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
572 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
573 while (ClassDecl != nullptr) { in lookupInstanceVariable()
574 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
575 clsDeclared = ClassDecl; in lookupInstanceVariable()
579 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
581 clsDeclared = ClassDecl; in lookupInstanceVariable()
586 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
603 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
604 while (ClassDecl != nullptr) { in lookupInheritedClass()
605 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
606 return ClassDecl; in lookupInheritedClass()
607 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
635 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
641 while (ClassDecl) { in lookupMethod()
643 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
647 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
653 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
659 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
675 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1232 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1234 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1235 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1239 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1243 if (ClassDecl) { in findPropertyDecl()
1244 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()