Lines Matching defs:decl_context
330 const clang::DeclContext &decl_context,
334 clang::DeclContext::lookup_result result = decl_context.lookup(decl_name);
403 auto decl_context = GetDeclContextContainingSymbol(type);
411 m_ast.GetTypeForIdentifier<clang::CXXRecordDecl>(name, decl_context);
422 decl_context, OptionalClangModuleID(), access, name, tag_type_kind,
478 auto decl_context = GetDeclContextContainingSymbol(type);
483 m_ast.GetTypeForIdentifier<clang::EnumDecl>(name, decl_context);
508 ast_enum = m_ast.CreateEnumerationType(name, decl_context,
908 auto decl_context = GetDeclContextContainingSymbol(symbol);
909 assert(decl_context);
916 if (auto parent_decl = llvm::dyn_cast_or_null<clang::TagDecl>(decl_context))
924 GetDeclFromContextByName(m_ast.getASTContext(), *decl_context, name);
931 decl_context, OptionalClangModuleID(), name.c_str(),
943 auto decl_context = GetDeclContextContainingSymbol(symbol);
944 assert(decl_context);
957 decl_context, OptionalClangModuleID(), name,
1102 const clang::DeclContext *decl_context) {
1110 session.getSymbolById(m_decl_context_to_uid.lookup(decl_context));