Lines Matching defs:decl_ctx
315 clang::DeclContext *decl_ctx,
318 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx);
525 "(die = {0:x16}, decl_ctx = {1:p} (die "
546 if (clang::DeclContext *decl_ctx =
548 LinkDeclContextToDIE(decl_ctx, die);
2388 DWARFDeclContext decl_ctx = die.GetDWARFDeclContext();
2389 sstr << decl_ctx.GetQualifiedName();
3313 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die);
3314 if (decl_ctx)
3315 return decl_ctx;
3321 decl_ctx = m_ast.GetTranslationUnitDecl();
3326 decl_ctx = ResolveNamespaceDIE(die);
3331 decl_ctx = ResolveImportedDeclarationDIE(die);
3336 decl_ctx = GetDeclContextForBlock(die);
3344 if (decl_ctx == nullptr && try_parsing_type) {
3347 decl_ctx = GetCachedClangDeclContextForDIE(die);
3350 if (decl_ctx) {
3351 LinkDeclContextToDIE(decl_ctx, die);
3352 return decl_ctx;
3560 void DWARFASTParserClang::LinkDeclContextToDIE(clang::DeclContext *decl_ctx,
3562 m_die_to_decl_ctx[die.GetDIE()] = decl_ctx;
3564 // m_decl_ctx_to_die[decl_ctx].insert(die.GetDIE());
3565 m_decl_ctx_to_die.insert(std::make_pair(decl_ctx, die));