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()
99 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { in SetDeclContext() argument
101 m_opaque_decl_ctx = decl_ctx; in SetDeclContext()
H A DSymbolFileOnDemand.h115 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DCompilerType.h364 const CompilerDeclContext &decl_ctx,
H A DSymbolFile.h227 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp40 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
43 if (decl_ctx) { in FindExternalLexicalDecls()
45 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
H A DClangASTSource.cpp103 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()
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()
927 const DeclContext *decl_ctx(context.m_decl_context); in FindObjCMethodDecls() local
[all …]
H A DClangASTImporter.cpp130 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx; in ChainPassesThrough() local
131 decl_ctx = (decl_ctx->*contextFromContext)()) { in ChainPassesThrough()
132 if (decl_ctx == base) { in ChainPassesThrough()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1338 if (decl_ctx) in CreateRecordType()
1854 if (!decl_ctx) in CreateObjCClass()
1903 if (!decl_ctx) in GetUniqueNamespaceDeclaration()
2186 if (!decl_ctx) in CreateFunctionDeclaration()
2368 if (decl_ctx) in CreateEnumerationType()
2429 if (decl_ctx) { in DumpDeclContextHiearchy()
2919 if (!decl_ctx) in IsRuntimeGeneratedType()
4588 if (!decl_ctx) in CreateTypedef()
9012 if (decl_ctx) { in GetCompilerKind()
9189 decl_ctx = decl_ctx->getParent()) { in CountDeclLevels()
[all …]
H A DTypeSystemClang.h184 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
323 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
416 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
424 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
432 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
454 clang::DeclContext *decl_ctx,
472 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
483 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
500 clang::DeclContext *decl_ctx,
802 const CompilerDeclContext &decl_ctx,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp32 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
42 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
43 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
44 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
49 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
66 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp474 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
476 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1788 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
2418 sstr << decl_ctx.GetQualifiedName(); in ConstructDemangledNameFromDWARF()
3422 if (decl_ctx) in GetClangDeclContextForDIE()
3423 return decl_ctx; in GetClangDeclContextForDIE()
3434 decl_ctx = ResolveNamespaceDIE(die); in GetClangDeclContextForDIE()
3444 decl_ctx = GetDeclContextForBlock(die); in GetClangDeclContextForDIE()
3458 if (decl_ctx) { in GetClangDeclContextForDIE()
3459 LinkDeclContextToDIE(decl_ctx, die); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.h158 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
370 bool DeclContextMatchesThisSymbolFile(const CompilerDeclContext &decl_ctx);
H A DSymbolFileDWARF.cpp1470 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1471 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1474 decl_ctx); in ParseDeclsForContext()
2295 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2296 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2303 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2498 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2504 if (!decl_ctx.IsValid()) { in DIEInDeclContext()
2517 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h98 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
H A DDWARFASTParserClang.h224 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp369 clang::DeclContext *decl_ctx = clang.GetDeclContextForType(record_ct); in AddMember() local
375 record_ct, layout, decl_ctx); in AddMember()
403 clang::DeclContext *decl_ctx = in FinishRecord() local
410 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.cpp718 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
738 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1970 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1971 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1974 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.cpp108 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
H A DCompilerType.cpp710 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
714 return type_system_sp->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()
H A DType.cpp112 TypeQuery::TypeQuery(const CompilerDeclContext &decl_ctx, in TypeQuery() argument
117 m_context = decl_ctx.GetCompilerContext(); in TypeQuery()

12