Lines Matching refs:ClassDecl
248 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) {
249 for (const auto *Ext : ClassDecl->visible_extensions()) {
630 ObjCInterfaceDecl* ClassDecl = this;
631 while (ClassDecl != nullptr) {
632 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) {
633 clsDeclared = ClassDecl;
637 for (const auto *Ext : ClassDecl->visible_extensions()) {
639 clsDeclared = ClassDecl;
644 ClassDecl = ClassDecl->getSuperClass();
661 ObjCInterfaceDecl* ClassDecl = this;
662 while (ClassDecl != nullptr) {
663 if (ClassDecl->getIdentifier() == ICName)
664 return ClassDecl;
665 ClassDecl = ClassDecl->getSuperClass();
693 const ObjCInterfaceDecl* ClassDecl = this;
699 while (ClassDecl) {
701 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
705 for (const auto *Cat : ClassDecl->visible_categories())
711 for (const auto *I : ClassDecl->protocols())
717 for (const auto *Cat : ClassDecl->visible_categories()) {
732 ClassDecl = ClassDecl->getSuperClass();
1358 const ObjCInterfaceDecl *ClassDecl = nullptr;
1360 ClassDecl = Category->getClassInterface();
1361 if (const auto *Found = findMatchingProperty(ClassDecl))
1365 ClassDecl = cast<ObjCInterfaceDecl>(Container);
1367 assert(ClassDecl && "Failed to find main class");
1370 for (const auto *Ext : ClassDecl->visible_extensions()) {
1379 for (const auto *Cat : ClassDecl->known_categories()) {