Lines Matching refs:ClassDecl
248 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local
249 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration()
630 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local
631 while (ClassDecl != nullptr) { in lookupInstanceVariable()
632 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable()
633 clsDeclared = ClassDecl; in lookupInstanceVariable()
637 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable()
639 clsDeclared = ClassDecl; in lookupInstanceVariable()
644 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable()
661 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local
662 while (ClassDecl != nullptr) { in lookupInheritedClass()
663 if (ClassDecl->getIdentifier() == ICName) in lookupInheritedClass()
664 return ClassDecl; in lookupInheritedClass()
665 ClassDecl = ClassDecl->getSuperClass(); in lookupInheritedClass()
693 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local
699 while (ClassDecl) { in lookupMethod()
701 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
705 for (const auto *Cat : ClassDecl->visible_categories()) in lookupMethod()
711 for (const auto *I : ClassDecl->protocols()) in lookupMethod()
717 for (const auto *Cat : ClassDecl->visible_categories()) { in lookupMethod()
732 ClassDecl = ClassDecl->getSuperClass(); in lookupMethod()
1341 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
1343 ClassDecl = Category->getClassInterface(); in findPropertyDecl()
1344 if (const auto *Found = findMatchingProperty(ClassDecl)) in findPropertyDecl()
1348 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1352 if (ClassDecl) { in findPropertyDecl()
1353 for (const auto *Ext : ClassDecl->visible_extensions()) { in findPropertyDecl()