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