Lines Matching refs:SubDecl

416         for (Decl *SubDecl : Method->decls())  in VisitObjCMethodDecl()
417 if (ODRHash::isSubDeclToBeProcessed(SubDecl, Method)) in VisitObjCMethodDecl()
418 Decls.push_back(SubDecl); in VisitObjCMethodDecl()
421 for (auto SubDecl : Decls) in VisitObjCMethodDecl() local
422 Hash.AddSubDecl(SubDecl); in VisitObjCMethodDecl()
574 for (Decl *SubDecl : Record->decls()) { in AddCXXRecordDecl()
575 if (isSubDeclToBeProcessed(SubDecl, Record)) { in AddCXXRecordDecl()
576 Decls.push_back(SubDecl); in AddCXXRecordDecl()
577 if (auto *Function = dyn_cast<FunctionDecl>(SubDecl)) { in AddCXXRecordDecl()
585 for (auto SubDecl : Decls) { in AddCXXRecordDecl() local
586 AddSubDecl(SubDecl); in AddCXXRecordDecl()
612 for (Decl *SubDecl : Record->decls()) { in AddRecordDecl()
613 if (isSubDeclToBeProcessed(SubDecl, Record)) in AddRecordDecl()
614 Decls.push_back(SubDecl); in AddRecordDecl()
618 for (const Decl *SubDecl : Decls) in AddRecordDecl() local
619 AddSubDecl(SubDecl); in AddRecordDecl()
640 for (Decl *SubDecl : IF->decls()) in AddObjCInterfaceDecl()
641 if (isSubDeclToBeProcessed(SubDecl, IF)) in AddObjCInterfaceDecl()
642 Decls.push_back(SubDecl); in AddObjCInterfaceDecl()
645 for (auto *SubDecl : Decls) in AddObjCInterfaceDecl() local
646 AddSubDecl(SubDecl); in AddObjCInterfaceDecl()
720 for (Decl *SubDecl : Function->decls()) { in AddFunctionDecl()
721 if (isSubDeclToBeProcessed(SubDecl, Function)) { in AddFunctionDecl()
722 Decls.push_back(SubDecl); in AddFunctionDecl()
727 for (auto SubDecl : Decls) { in AddFunctionDecl() local
728 AddSubDecl(SubDecl); in AddFunctionDecl()
746 for (Decl *SubDecl : Enum->decls()) { in AddEnumDecl()
747 if (isSubDeclToBeProcessed(SubDecl, Enum)) { in AddEnumDecl()
748 assert(isa<EnumConstantDecl>(SubDecl) && "Unexpected Decl"); in AddEnumDecl()
749 Decls.push_back(SubDecl); in AddEnumDecl()
754 for (auto SubDecl : Decls) { in AddEnumDecl() local
755 AddSubDecl(SubDecl); in AddEnumDecl()
773 for (Decl *SubDecl : P->decls()) { in AddObjCProtocolDecl()
774 if (isSubDeclToBeProcessed(SubDecl, P)) { in AddObjCProtocolDecl()
775 Decls.push_back(SubDecl); in AddObjCProtocolDecl()
780 for (auto *SubDecl : Decls) { in AddObjCProtocolDecl() local
781 AddSubDecl(SubDecl); in AddObjCProtocolDecl()