Lines Matching defs:decl_ctx
245 clang::DeclContext *decl_ctx,
248 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx);
450 "(die = {0:x16}, decl_ctx = {1:p} (die "
471 if (clang::DeclContext *decl_ctx =
473 LinkDeclContextToDIE(decl_ctx, die);
2347 DWARFDeclContext decl_ctx = die.GetDWARFDeclContext();
2348 sstr << decl_ctx.GetQualifiedName();
3351 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die);
3352 if (decl_ctx)
3353 return decl_ctx;
3359 decl_ctx = m_ast.GetTranslationUnitDecl();
3364 decl_ctx = ResolveNamespaceDIE(die);
3369 decl_ctx = ResolveImportedDeclarationDIE(die);
3374 decl_ctx = GetDeclContextForBlock(die);
3382 if (decl_ctx == nullptr && try_parsing_type) {
3385 decl_ctx = GetCachedClangDeclContextForDIE(die);
3388 if (decl_ctx) {
3389 LinkDeclContextToDIE(decl_ctx, die);
3390 return decl_ctx;
3598 void DWARFASTParserClang::LinkDeclContextToDIE(clang::DeclContext *decl_ctx,
3600 m_die_to_decl_ctx[die.GetDIE()] = decl_ctx;
3602 // m_decl_ctx_to_die[decl_ctx].insert(die.GetDIE());
3603 m_decl_ctx_to_die.insert(std::make_pair(decl_ctx, die));