Home
last modified time | relevance | path

Searched refs:decl_ctx (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h43 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) in CompilerDeclContext() argument
44 : m_type_system(type_system), m_opaque_decl_ctx(decl_ctx) {} in CompilerDeclContext()
98 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { in SetDeclContext() argument
100 m_opaque_decl_ctx = decl_ctx; in SetDeclContext()
H A DSymbolFileOnDemand.h115 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DCompilerType.h378 const CompilerDeclContext &decl_ctx,
H A DSymbolFile.h235 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp41 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
44 if (decl_ctx) { in FindExternalLexicalDecls()
46 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
H A DClangASTSource.cpp102 const DeclContext *decl_ctx, DeclarationName clang_decl_name, in FindExternalVisibleDeclsByName() argument
105 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
118 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
131 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
140 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
144 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, method_decls); in FindExternalVisibleDeclsByName()
152 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
162 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
173 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
179 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
[all …]
H A DClangASTImporter.cpp132 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx; in ChainPassesThrough() local
133 decl_ctx = (decl_ctx->*contextFromContext)()) { in ChainPassesThrough()
134 if (decl_ctx == base) { in ChainPassesThrough()
H A DClangExpressionDeclMap.cpp1290 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); in LookupFunction() local
1292 if (!decl_ctx) in LookupFunction()
1296 if (decl_ctx.IsClassMethod()) in LookupFunction()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1245 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateRecordType() argument
1251 if (decl_ctx == nullptr) in CreateRecordType()
1252 decl_ctx = ast.getTranslationUnitDecl(); in CreateRecordType()
1257 return CreateObjCClass(name, decl_ctx, owning_module, isInternal, metadata); in CreateRecordType()
1269 decl->setDeclContext(decl_ctx); in CreateRecordType()
1299 if (isa<CXXRecordDecl>(decl_ctx) && exports_symbols) in CreateRecordType()
1309 if (decl_ctx) in CreateRecordType()
1310 decl_ctx->addDecl(decl); in CreateRecordType()
1418 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateFunctionTemplateDecl() argument
1429 func_tmpl_decl->setDeclContext(decl_ctx); in CreateFunctionTemplateDecl()
[all …]
H A DTypeSystemClang.h189 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
331 CreateRecordType(clang::DeclContext *decl_ctx,
423 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
431 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
439 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
461 CreateObjCClass(llvm::StringRef name, clang::DeclContext *decl_ctx,
471 GetUniqueNamespaceDeclaration(const char *name, clang::DeclContext *decl_ctx,
478 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
489 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
504 llvm::StringRef name, clang::DeclContext *decl_ctx,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp33 const clang::DeclContext *decl_ctx, clang::DeclarationName name, in FindExternalVisibleDeclsByName() argument
43 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
44 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
45 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
50 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
67 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp339 clang::DeclContext *decl_ctx, in PrepareContextToReceiveMembers() argument
342 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx); in PrepareContextToReceiveMembers()
565 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
567 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
2433 DWARFDeclContext decl_ctx = die.GetDWARFDeclContext(); in ConstructDemangledNameFromDWARF() local
2434 sstr << decl_ctx.GetQualifiedName(); in ConstructDemangledNameFromDWARF()
3358 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die); in GetClangDeclContextForDIE() local
3359 if (decl_ctx) in GetClangDeclContextForDIE()
3360 return decl_ctx; in GetClangDeclContextForDIE()
3366 decl_ctx = m_ast.GetTranslationUnitDecl(); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.h157 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
380 bool DeclContextMatchesThisSymbolFile(const CompilerDeclContext &decl_ctx);
H A DSymbolFileDWARF.cpp1416 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1417 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1420 decl_ctx); in ParseDeclsForContext()
2277 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2278 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2285 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2474 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2480 if (!decl_ctx.IsValid()) { in DIEInDeclContext()
2493 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h99 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp372 clang::DeclContext *decl_ctx = clang.GetDeclContextForType(record_ct); in AddMember() local
378 record_ct, layout, decl_ctx); in AddMember()
406 clang::DeclContext *decl_ctx = in FinishRecord() local
413 decl_ctx); in FinishRecord()
H A DUdtRecordCompleter.h140 clang::DeclContext *decl_ctx);
H A DSymbolFileNativePDB.h85 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h102 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
232 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp704 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
724 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1953 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1954 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1957 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
H A DPDBASTParser.cpp556 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
560 m_ast.GetTypeForIdentifier<clang::TypedefNameDecl>(name, decl_ctx); in CreateLLDBTypeFromPDBType()
565 name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp257 void SymbolFileOnDemand::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
263 return m_sym_file_impl->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
H A DTypeSystem.cpp113 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
H A DCompilerType.cpp748 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
752 return type_system_sp->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()
H A DType.cpp88 TypeQuery::TypeQuery(const CompilerDeclContext &decl_ctx, in TypeQuery() argument
93 m_context = decl_ctx.GetCompilerContext(); in TypeQuery()

12