Home
last modified time | relevance | path

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

/external/llvm-project/lldb/unittests/Expression/
DClangExpressionDeclMapTest.cpp90 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F()
113 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F()
/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp262 "my_enum", ast.GetTranslationUnitDecl(), OptionalClangModuleID(), in TEST_F()
276 "my_enum", ast.GetTranslationUnitDecl(), OptionalClangModuleID(100), in TEST_F()
290 ast.CreateObjCClass("objc_class", ast.GetTranslationUnitDecl(), in TEST_F()
469 m_ast->GetTranslationUnitDecl(), OptionalClangModuleID(), eAccessPublic, in TEST_F()
476 m_ast->GetTranslationUnitDecl(), OptionalClangModuleID(), decl, in TEST_F()
487 m_ast->CreateDeclContext(m_ast->GetTranslationUnitDecl()), 0); in TEST_F()
562 clang::TranslationUnitDecl *TU = m_ast->GetTranslationUnitDecl(); in TEST_F()
586 clang::TranslationUnitDecl *TU = m_ast->GetTranslationUnitDecl(); in TEST_F()
702 CompilerType c = m_ast->CreateObjCClass("A", m_ast->GetTranslationUnitDecl(), in TEST_F()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp210 lldb_private::CompilerDeclContext PdbAstBuilder::GetTranslationUnitDecl() { in GetTranslationUnitDecl() function in PdbAstBuilder
211 return ToCompilerDeclContext(*m_clang.GetTranslationUnitDecl()); in GetTranslationUnitDecl()
224 return {m_clang.GetTranslationUnitDecl(), std::string(record.UniqueName)}; in CreateDeclInfoForType()
235 clang::DeclContext *context = m_clang.GetTranslationUnitDecl(); in CreateDeclInfoForType()
488 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetOrCreateDeclContextForUid()
505 auto context = FromCompilerDeclContext(GetTranslationUnitDecl()); in CreateDeclInfoForUndecoratedName()
546 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContextForSymbol()
567 auto context = FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContextForSymbol()
595 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContext()
633 return FromCompilerDeclContext(GetTranslationUnitDecl()); in GetParentDeclContext()
[all …]
DPdbAstBuilder.h56 lldb_private::CompilerDeclContext GetTranslationUnitDecl();
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.cpp1020 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1024 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1028 return m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
1031 clang::DeclContext *curr_context = m_ast.GetTranslationUnitDecl(); in GetDeclContextContainingSymbol()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp1242 ignore_containing_context ? m_ast.GetTranslationUnitDecl() in ParseSubroutine()
1251 ignore_containing_context ? m_ast.GetTranslationUnitDecl() in ParseSubroutine()
3271 decl_ctx = m_ast.GetTranslationUnitDecl(); in GetClangDeclContextForDIE()
3480 return m_ast.GetTranslationUnitDecl(); in GetClangDeclContextContainingDIE()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h221 clang::TranslationUnitDecl *GetTranslationUnitDecl() { in GetTranslationUnitDecl() function
DTypeSystemClang.cpp8242 Decl *tu = Decl::castFromDeclContext(GetTranslationUnitDecl()); in Dump()