Lines Matching refs:SubDecl
420 for (Decl *SubDecl : Method->decls()) in VisitObjCMethodDecl()
421 if (ODRHash::isSubDeclToBeProcessed(SubDecl, Method)) in VisitObjCMethodDecl()
422 Decls.push_back(SubDecl); in VisitObjCMethodDecl()
425 for (auto SubDecl : Decls) in VisitObjCMethodDecl() local
426 Hash.AddSubDecl(SubDecl); in VisitObjCMethodDecl()
578 for (Decl *SubDecl : Record->decls()) { in AddCXXRecordDecl()
579 if (isSubDeclToBeProcessed(SubDecl, Record)) { in AddCXXRecordDecl()
580 Decls.push_back(SubDecl); in AddCXXRecordDecl()
581 if (auto *Function = dyn_cast<FunctionDecl>(SubDecl)) { in AddCXXRecordDecl()
589 for (auto SubDecl : Decls) { in AddCXXRecordDecl() local
590 AddSubDecl(SubDecl); in AddCXXRecordDecl()
616 for (Decl *SubDecl : Record->decls()) { in AddRecordDecl()
617 if (isSubDeclToBeProcessed(SubDecl, Record)) in AddRecordDecl()
618 Decls.push_back(SubDecl); in AddRecordDecl()
622 for (const Decl *SubDecl : Decls) in AddRecordDecl() local
623 AddSubDecl(SubDecl); in AddRecordDecl()
644 for (Decl *SubDecl : IF->decls()) in AddObjCInterfaceDecl()
645 if (isSubDeclToBeProcessed(SubDecl, IF)) in AddObjCInterfaceDecl()
646 Decls.push_back(SubDecl); in AddObjCInterfaceDecl()
649 for (auto *SubDecl : Decls) in AddObjCInterfaceDecl() local
650 AddSubDecl(SubDecl); in AddObjCInterfaceDecl()
728 for (Decl *SubDecl : Function->decls()) { in AddFunctionDecl()
729 if (isSubDeclToBeProcessed(SubDecl, Function)) { in AddFunctionDecl()
730 Decls.push_back(SubDecl); in AddFunctionDecl()
735 for (auto SubDecl : Decls) { in AddFunctionDecl() local
736 AddSubDecl(SubDecl); in AddFunctionDecl()
754 for (Decl *SubDecl : Enum->decls()) { in AddEnumDecl()
755 if (isSubDeclToBeProcessed(SubDecl, Enum)) { in AddEnumDecl()
756 assert(isa<EnumConstantDecl>(SubDecl) && "Unexpected Decl"); in AddEnumDecl()
757 Decls.push_back(SubDecl); in AddEnumDecl()
762 for (auto SubDecl : Decls) { in AddEnumDecl() local
763 AddSubDecl(SubDecl); in AddEnumDecl()
781 for (Decl *SubDecl : P->decls()) { in AddObjCProtocolDecl()
782 if (isSubDeclToBeProcessed(SubDecl, P)) { in AddObjCProtocolDecl()
783 Decls.push_back(SubDecl); in AddObjCProtocolDecl()
788 for (auto *SubDecl : Decls) { in AddObjCProtocolDecl() local
789 AddSubDecl(SubDecl); in AddObjCProtocolDecl()