Lines Matching defs:ClassDecl
262 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) {
263 for (const auto *Ext : ClassDecl->visible_extensions()) {
646 ObjCInterfaceDecl* ClassDecl = this;
647 while (ClassDecl != nullptr) {
648 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) {
649 clsDeclared = ClassDecl;
653 for (const auto *Ext : ClassDecl->visible_extensions()) {
655 clsDeclared = ClassDecl;
660 ClassDecl = ClassDecl->getSuperClass();
677 ObjCInterfaceDecl* ClassDecl = this;
678 while (ClassDecl != nullptr) {
679 if (ClassDecl->getIdentifier() == ICName)
680 return ClassDecl;
681 ClassDecl = ClassDecl->getSuperClass();
709 const ObjCInterfaceDecl* ClassDecl = this;
715 while (ClassDecl) {
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
721 for (const auto *Cat : ClassDecl->visible_categories())
727 for (const auto *I : ClassDecl->protocols())
733 for (const auto *Cat : ClassDecl->visible_categories()) {
748 ClassDecl = ClassDecl->getSuperClass();
1422 const ObjCInterfaceDecl *ClassDecl = nullptr;
1424 ClassDecl = Category->getClassInterface();
1425 if (const auto *Found = findMatchingProperty(ClassDecl))
1429 ClassDecl = cast<ObjCInterfaceDecl>(Container);
1431 assert(ClassDecl && "Failed to find main class");
1434 for (const auto *Ext : ClassDecl->visible_extensions()) {
1443 for (const auto *Cat : ClassDecl->known_categories()) {