Lines Matching refs:Decl

94 clang::Decl *ClangASTImporter::CopyDecl(clang::ASTContext *dst_ast,  in CopyDecl()
96 clang::Decl *decl) { in CopyDecl()
102 clang::Decl *result = minion_sp->Import(decl); in CopyDecl()
138 std::map<clang::Decl *, Backup> m_backups;
140 void OverrideOne(clang::Decl *decl) { in OverrideOne()
152 clang::Decl *decl, clang::DeclContext *base, in ChainPassesThrough()
153 clang::DeclContext *(clang::Decl::*contextFromDecl)(), in ChainPassesThrough()
165 clang::Decl *GetEscapedChild(clang::Decl *decl, in GetEscapedChild()
170 if (!ChainPassesThrough(decl, base, &clang::Decl::getDeclContext, in GetEscapedChild()
172 !ChainPassesThrough(decl, base, &clang::Decl::getLexicalDeclContext, in GetEscapedChild()
186 for (clang::Decl *decl : context->decls()) { in GetEscapedChild()
187 if (clang::Decl *escaped_child = GetEscapedChild(decl)) { in GetEscapedChild()
196 void Override(clang::Decl *decl) { in Override()
197 if (clang::Decl *escaped_child = GetEscapedChild(decl)) { in Override()
215 void OverrideAllDeclsFromContainingFunction(clang::Decl *decl) { in OverrideAllDeclsFromContainingFunction()
222 for (clang::Decl *child_decl : decl_context->decls()) { in OverrideAllDeclsFromContainingFunction()
230 for (const std::pair<clang::Decl *, Backup> &backup : m_backups) { in ~DeclContextOverride()
278 clang::Decl *ClangASTImporter::DeportDecl(clang::ASTContext *dst_ctx, in DeportDecl()
280 clang::Decl *decl) { in DeportDecl()
303 clang::Decl *result = CopyDecl(dst_ctx, src_ctx, decl); in DeportDecl()
519 void ClangASTImporter::CompleteDecl(clang::Decl *decl) { in CompleteDecl()
628 for (Decl *origin_child_decl : origin_tag_decl->decls()) { in CompleteAndFetchChildren()
653 for (Decl *origin_child_decl : origin_interface_decl->decls()) { in CompleteAndFetchChildren()
695 ClangASTMetadata *ClangASTImporter::GetDeclMetadata(const clang::Decl *decl) { in GetDeclMetadata()
705 ClangASTImporter::GetDeclOrigin(const clang::Decl *decl) { in GetDeclOrigin()
718 void ClangASTImporter::SetDeclOrigin(const clang::Decl *decl, in SetDeclOrigin()
719 clang::Decl *original_decl) { in SetDeclOrigin()
848 Decl *original_decl = to_context_md->m_origins[decl].decl; in ExecuteDeportWorkQueues()
875 void ClangASTImporter::Minion::ImportDefinitionTo(clang::Decl *to, in ImportDefinitionTo()
876 clang::Decl *from) { in ImportDefinitionTo()
919 Decl *imported_from_superclass_decl = Import(from_superclass); in ImportDefinitionTo()
939 clang::Decl *ClangASTImporter::Minion::Imported(clang::Decl *from, in Imported()
940 clang::Decl *to) { in Imported()
1092 ((Decl *)to_container_decl)->getDeclKindName(), in Imported()
1102 clang::Decl *ClangASTImporter::Minion::GetOriginalDecl(clang::Decl *To) { in GetOriginalDecl()
1114 return const_cast<clang::Decl *>(iter->second.decl); in GetOriginalDecl()