Lines Matching refs:ClassDecl
262 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local
263 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
646 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
647 while (ClassDecl != nullptr) { in lookupInstanceVariable()
648 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
649 clsDeclared = ClassDecl; in lookupInstanceVariable()
653 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
655 clsDeclared = ClassDecl; in lookupInstanceVariable()
660 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
677 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
678 while (ClassDecl != nullptr) { in lookupInheritedClass()
679 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
680 return ClassDecl; in lookupInheritedClass()
681 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
709 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
715 while (ClassDecl) { in lookupMethod()
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
721 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
727 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
733 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
748 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1422 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1424 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1425 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1429 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1431 assert(ClassDecl && "Failed to find main class"); in findPropertyDecl()
1434 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()
1443 for (const auto *Cat : ClassDecl->known_categories()) { in findPropertyDecl()