Lines Matching refs:decl_ctx
254 clang::DeclContext *decl_ctx, in PrepareContextToReceiveMembers() argument
257 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx); in PrepareContextToReceiveMembers()
474 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
476 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1788 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
1791 PrepareContextToReceiveMembers(m_ast, GetClangASTImporter(), decl_ctx, die, in ParseStructureLikeDIE()
1794 if (attrs.accessibility == eAccessNone && decl_ctx) { in ParseStructureLikeDIE()
1797 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind(); in ParseStructureLikeDIE()
1810 decl_ctx, GetOwningClangModule(die), attrs.accessibility, in ParseStructureLikeDIE()
1826 decl_ctx, GetOwningClangModule(die), class_template_decl, in ParseStructureLikeDIE()
1839 decl_ctx, GetOwningClangModule(die), attrs.accessibility, in ParseStructureLikeDIE()
2417 DWARFDeclContext decl_ctx = SymbolFileDWARF::GetDWARFDeclContext(die); in ConstructDemangledNameFromDWARF() local
2418 sstr << decl_ctx.GetQualifiedName(); in ConstructDemangledNameFromDWARF()
3421 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die); in GetClangDeclContextForDIE() local
3422 if (decl_ctx) in GetClangDeclContextForDIE()
3423 return decl_ctx; in GetClangDeclContextForDIE()
3429 decl_ctx = m_ast.GetTranslationUnitDecl(); in GetClangDeclContextForDIE()
3434 decl_ctx = ResolveNamespaceDIE(die); in GetClangDeclContextForDIE()
3439 decl_ctx = ResolveImportedDeclarationDIE(die); in GetClangDeclContextForDIE()
3444 decl_ctx = GetDeclContextForBlock(die); in GetClangDeclContextForDIE()
3452 if (decl_ctx == nullptr && try_parsing_type) { in GetClangDeclContextForDIE()
3455 decl_ctx = GetCachedClangDeclContextForDIE(die); in GetClangDeclContextForDIE()
3458 if (decl_ctx) { in GetClangDeclContextForDIE()
3459 LinkDeclContextToDIE(decl_ctx, die); in GetClangDeclContextForDIE()
3460 return decl_ctx; in GetClangDeclContextForDIE()
3668 void DWARFASTParserClang::LinkDeclContextToDIE(clang::DeclContext *decl_ctx, in LinkDeclContextToDIE() argument
3670 m_die_to_decl_ctx[die.GetDIE()] = decl_ctx; in LinkDeclContextToDIE()
3673 m_decl_ctx_to_die.insert(std::make_pair(decl_ctx, die)); in LinkDeclContextToDIE()