Lines Matching refs:SubDecl
490 for (Decl *SubDecl : Record->decls()) { in AddCXXRecordDecl()
491 if (isDeclToBeProcessed(SubDecl, Record)) { in AddCXXRecordDecl()
492 Decls.push_back(SubDecl); in AddCXXRecordDecl()
493 if (auto *Function = dyn_cast<FunctionDecl>(SubDecl)) { in AddCXXRecordDecl()
501 for (auto SubDecl : Decls) { in AddCXXRecordDecl() local
502 AddSubDecl(SubDecl); in AddCXXRecordDecl()
591 for (Decl *SubDecl : Function->decls()) { in AddFunctionDecl()
592 if (isDeclToBeProcessed(SubDecl, Function)) { in AddFunctionDecl()
593 Decls.push_back(SubDecl); in AddFunctionDecl()
598 for (auto SubDecl : Decls) { in AddFunctionDecl() local
599 AddSubDecl(SubDecl); in AddFunctionDecl()
617 for (Decl *SubDecl : Enum->decls()) { in AddEnumDecl()
618 if (isDeclToBeProcessed(SubDecl, Enum)) { in AddEnumDecl()
619 assert(isa<EnumConstantDecl>(SubDecl) && "Unexpected Decl"); in AddEnumDecl()
620 Decls.push_back(SubDecl); in AddEnumDecl()
625 for (auto SubDecl : Decls) { in AddEnumDecl() local
626 AddSubDecl(SubDecl); in AddEnumDecl()