Home
last modified time | relevance | path

Searched refs:GetTranslationUnitDecl (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/Expression/
H A DClangExpressionDeclMapTest.cpp90 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F()
113 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F()
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestTypeSystemClang.cpp265 "my_enum", ast.GetTranslationUnitDecl(), OptionalClangModuleID(), in TEST_F()
279 "my_enum", ast.GetTranslationUnitDecl(), OptionalClangModuleID(100), in TEST_F()
293 ast.CreateObjCClass("objc_class", ast.GetTranslationUnitDecl(), in TEST_F()
472 m_ast->GetTranslationUnitDecl(), OptionalClangModuleID(), eAccessPublic, in TEST_F()
479 m_ast->GetTranslationUnitDecl(), OptionalClangModuleID(), decl, in TEST_F()
489 "foo_def", m_ast->CreateDeclContext(m_ast->GetTranslationUnitDecl()), 0); in TEST_F()
536 m_ast->GetTranslationUnitDecl(), OptionalClangModuleID(), eAccessPublic, in CreateClassTemplate()
751 clang::TranslationUnitDecl *TU = m_ast->GetTranslationUnitDecl(); in TEST_F()
775 clang::TranslationUnitDecl *TU = m_ast->GetTranslationUnitDecl(); in TEST_F()
891 CompilerType c = m_ast->CreateObjCClass("A", m_ast->GetTranslationUnitDecl(), in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp270 lldb_private::CompilerDeclContext PdbAstBuilder::GetTranslationUnitDecl() { in GetTranslationUnitDecl() function in PdbAstBuilder
271 return ToCompilerDeclContext(*m_clang.GetTranslationUnitDecl()); in GetTranslationUnitDecl()
295 clang::DeclContext *context = m_clang.GetTranslationUnitDecl(); in CreateDeclInfoForType()
561 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetOrCreateDeclContextForUid()
578 auto context = FromCompilerDeclContext(GetTranslationUnitDecl()); in CreateDeclInfoForUndecoratedName()
621 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContextForSymbol()
644 auto context = FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContextForSymbol()
672 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContext()
710 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContext()
996 auto context = FromCompilerDeclContext(GetTranslationUnitDecl()); in GetOrCreateVariableDecl()
[all …]
H A DPdbAstBuilder.h56 lldb_private::CompilerDeclContext GetTranslationUnitDecl();
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1045 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1050 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1054 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1057 clang::DeclContext *curr_context = m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1226 ignore_containing_context ? m_ast.GetTranslationUnitDecl() in ParseSubroutine()
1236 ignore_containing_context ? m_ast.GetTranslationUnitDecl() in ParseSubroutine()
3213 decl_ctx = m_ast.GetTranslationUnitDecl(); in GetClangDeclContextForDIE()
3398 return m_ast.GetTranslationUnitDecl(); in GetClangDeclContextContainingDIE()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h223 clang::TranslationUnitDecl *GetTranslationUnitDecl() { in GetTranslationUnitDecl() function
H A DTypeSystemClang.cpp8472 GetTranslationUnitDecl()->dump(output); in Dump()