Lines Matching defs:ClassDecl
260 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) {
261 for (const auto *Ext : ClassDecl->visible_extensions()) {
644 ObjCInterfaceDecl* ClassDecl = this;
645 while (ClassDecl != nullptr) {
646 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) {
647 clsDeclared = ClassDecl;
651 for (const auto *Ext : ClassDecl->visible_extensions()) {
653 clsDeclared = ClassDecl;
658 ClassDecl = ClassDecl->getSuperClass();
675 ObjCInterfaceDecl* ClassDecl = this;
676 while (ClassDecl != nullptr) {
677 if (ClassDecl->getIdentifier() == ICName)
678 return ClassDecl;
679 ClassDecl = ClassDecl->getSuperClass();
707 const ObjCInterfaceDecl* ClassDecl = this;
713 while (ClassDecl) {
715 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
719 for (const auto *Cat : ClassDecl->visible_categories())
725 for (const auto *I : ClassDecl->protocols())
731 for (const auto *Cat : ClassDecl->visible_categories()) {
746 ClassDecl = ClassDecl->getSuperClass();
1420 const ObjCInterfaceDecl *ClassDecl = nullptr;
1422 ClassDecl = Category->getClassInterface();
1423 if (const auto *Found = findMatchingProperty(ClassDecl))
1427 ClassDecl = cast<ObjCInterfaceDecl>(Container);
1429 assert(ClassDecl && "Failed to find main class");
1432 for (const auto *Ext : ClassDecl->visible_extensions()) {
1441 for (const auto *Cat : ClassDecl->known_categories()) {