Lines Matching refs:ClassDecl

249   if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) {  in FindPropertyDeclaration()  local
250 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
631 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
632 while (ClassDecl != nullptr) { in lookupInstanceVariable()
633 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
634 clsDeclared = ClassDecl; in lookupInstanceVariable()
638 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
640 clsDeclared = ClassDecl; in lookupInstanceVariable()
645 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
662 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
663 while (ClassDecl != nullptr) { in lookupInheritedClass()
664 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
665 return ClassDecl; in lookupInheritedClass()
666 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
694 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
700 while (ClassDecl) { in lookupMethod()
702 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
706 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
712 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
718 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
733 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1370 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1372 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1373 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1377 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1379 assert(ClassDecl && "Failed to find main class"); in findPropertyDecl()
1382 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()
1391 for (const auto *Cat : ClassDecl->known_categories()) { in findPropertyDecl()