Lines Matching refs:SubDecl
446 for (Decl *SubDecl : Method->decls()) in VisitObjCMethodDecl()
447 if (ODRHash::isSubDeclToBeProcessed(SubDecl, Method)) in VisitObjCMethodDecl()
448 Decls.push_back(SubDecl); in VisitObjCMethodDecl()
451 for (auto SubDecl : Decls) in VisitObjCMethodDecl() local
452 Hash.AddSubDecl(SubDecl); in VisitObjCMethodDecl()
605 for (Decl *SubDecl : Record->decls()) { in AddCXXRecordDecl()
606 if (isSubDeclToBeProcessed(SubDecl, Record)) { in AddCXXRecordDecl()
607 Decls.push_back(SubDecl); in AddCXXRecordDecl()
608 if (auto *Function = dyn_cast<FunctionDecl>(SubDecl)) { in AddCXXRecordDecl()
616 for (auto SubDecl : Decls) { in AddCXXRecordDecl() local
617 AddSubDecl(SubDecl); in AddCXXRecordDecl()
643 for (Decl *SubDecl : Record->decls()) { in AddRecordDecl()
644 if (isSubDeclToBeProcessed(SubDecl, Record)) in AddRecordDecl()
645 Decls.push_back(SubDecl); in AddRecordDecl()
649 for (const Decl *SubDecl : Decls) in AddRecordDecl() local
650 AddSubDecl(SubDecl); in AddRecordDecl()
671 for (Decl *SubDecl : IF->decls()) in AddObjCInterfaceDecl()
672 if (isSubDeclToBeProcessed(SubDecl, IF)) in AddObjCInterfaceDecl()
673 Decls.push_back(SubDecl); in AddObjCInterfaceDecl()
676 for (auto *SubDecl : Decls) in AddObjCInterfaceDecl() local
677 AddSubDecl(SubDecl); in AddObjCInterfaceDecl()
761 for (Decl *SubDecl : Function->decls()) { in AddFunctionDecl()
762 if (isSubDeclToBeProcessed(SubDecl, Function)) { in AddFunctionDecl()
763 Decls.push_back(SubDecl); in AddFunctionDecl()
768 for (auto SubDecl : Decls) { in AddFunctionDecl() local
769 AddSubDecl(SubDecl); in AddFunctionDecl()
787 for (Decl *SubDecl : Enum->decls()) { in AddEnumDecl()
788 if (isSubDeclToBeProcessed(SubDecl, Enum)) { in AddEnumDecl()
789 assert(isa<EnumConstantDecl>(SubDecl) && "Unexpected Decl"); in AddEnumDecl()
790 Decls.push_back(SubDecl); in AddEnumDecl()
795 for (auto SubDecl : Decls) { in AddEnumDecl() local
796 AddSubDecl(SubDecl); in AddEnumDecl()
814 for (Decl *SubDecl : P->decls()) { in AddObjCProtocolDecl()
815 if (isSubDeclToBeProcessed(SubDecl, P)) { in AddObjCProtocolDecl()
816 Decls.push_back(SubDecl); in AddObjCProtocolDecl()
821 for (auto *SubDecl : Decls) { in AddObjCProtocolDecl() local
822 AddSubDecl(SubDecl); in AddObjCProtocolDecl()