Searched refs:target_ast (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/lldb/unittests/Expression/ |
D | ClangExpressionDeclMapTest.cpp | 66 std::unique_ptr<TypeSystemClang> target_ast; member 71 target_ast = clang_utils::createAST(); in SetUp() 72 decl_map->InstallASTContext(*target_ast); in SetUp() 78 target_ast.reset(); in TearDown() 89 clang_utils::getDeclarationName(*target_ast, "foo"); in TEST_F() 90 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F() 91 NameSearchContext search(*target_ast, decls, name, dc); in TEST_F() 112 clang_utils::getDeclarationName(*target_ast, decl_name); in TEST_F() 113 const clang::DeclContext *dc = target_ast->GetTranslationUnitDecl(); in TEST_F() 114 NameSearchContext search(*target_ast, decls, name, dc); in TEST_F()
|
/external/llvm-project/lldb/unittests/Symbol/ |
D | TestClangASTImporter.cpp | 45 std::unique_ptr<TypeSystemClang> target_ast = clang_utils::createAST(); in TEST_F() local 49 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F() 70 std::unique_ptr<TypeSystemClang> target_ast = clang_utils::createAST(); in TEST_F() local 73 CompilerType imported = importer.CopyType(*target_ast, source.record_type); in TEST_F() 122 std::unique_ptr<TypeSystemClang> target_ast = clang_utils::createAST(); in TEST_F() local 126 importer.DeportDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F() 144 std::unique_ptr<TypeSystemClang> target_ast = clang_utils::createAST(); in TEST_F() local 147 CompilerType imported = importer.DeportType(*target_ast, source.record_type); in TEST_F() 169 std::unique_ptr<TypeSystemClang> target_ast = clang_utils::createAST(); in TEST_F() local 173 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F() [all …]
|