Lines Matching refs:ClassDecl
261 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local
262 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
647 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
648 while (ClassDecl != nullptr) { in lookupInstanceVariable()
649 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
650 clsDeclared = ClassDecl; in lookupInstanceVariable()
654 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
656 clsDeclared = ClassDecl; in lookupInstanceVariable()
661 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
678 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
679 while (ClassDecl != nullptr) { in lookupInheritedClass()
680 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
681 return ClassDecl; in lookupInheritedClass()
682 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
710 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
716 while (ClassDecl) { in lookupMethod()
718 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
722 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
728 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
734 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
749 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()