Searched refs:GetTranslationUnitDecl (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/lldb/unittests/Expression/ |
D | ClangExpressionDeclMapTest.cpp | 90 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/ |
D | TestTypeSystemClang.cpp | 262 "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/ |
D | PdbAstBuilder.cpp | 210 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 …]
|
D | PdbAstBuilder.h | 56 lldb_private::CompilerDeclContext GetTranslationUnitDecl();
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
D | PDBASTParser.cpp | 1020 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/ |
D | DWARFASTParserClang.cpp | 1242 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/ |
D | TypeSystemClang.h | 221 clang::TranslationUnitDecl *GetTranslationUnitDecl() { in GetTranslationUnitDecl() function
|
D | TypeSystemClang.cpp | 8242 Decl *tu = Decl::castFromDeclContext(GetTranslationUnitDecl()); in Dump()
|