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()
639 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
640 while (ClassDecl != nullptr) { in lookupInstanceVariable()
641 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
642 clsDeclared = ClassDecl; in lookupInstanceVariable()
646 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
648 clsDeclared = ClassDecl; in lookupInstanceVariable()
653 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
670 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
671 while (ClassDecl != nullptr) { in lookupInheritedClass()
672 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
673 return ClassDecl; in lookupInheritedClass()
674 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
702 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
708 while (ClassDecl) { in lookupMethod()
710 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
714 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
720 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
726 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
741 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1387 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1389 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1390 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1394 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1396 assert(ClassDecl && "Failed to find main class"); in findPropertyDecl()
1399 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()
1408 for (const auto *Cat : ClassDecl->known_categories()) { in findPropertyDecl()