Lines Matching refs:importer
32 ClangASTImporter importer; in TEST_F() local
33 EXPECT_FALSE(importer.CanImport(CompilerType())); in TEST_F()
37 ClangASTImporter importer; in TEST_F() local
38 EXPECT_FALSE(importer.Import(CompilerType())); in TEST_F()
47 ClangASTImporter importer; in TEST_F() local
49 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
60 ClangASTImporter::DeclOrigin origin = importer.GetDeclOrigin(imported); in TEST_F()
72 ClangASTImporter importer; in TEST_F() local
73 CompilerType imported = importer.CopyType(*target_ast, source.record_type); in TEST_F()
85 importer.GetDeclOrigin(imported_tag_decl); in TEST_F()
103 ClangASTImporter importer; in TEST_F() local
104 CompilerType imported = importer.CopyType(*target, fwd_decl_type); in TEST_F()
111 importer.CompleteTagDeclWithOrigin(imported_tag_decl, in TEST_F()
124 ClangASTImporter importer; in TEST_F() local
126 importer.DeportDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
137 EXPECT_FALSE(importer.GetDeclOrigin(imported_tag_decl).Valid()); in TEST_F()
146 ClangASTImporter importer; in TEST_F() local
147 CompilerType imported = importer.DeportType(*target_ast, source.record_type); in TEST_F()
158 EXPECT_FALSE(importer.GetDeclOrigin(imported_tag_decl).Valid()); in TEST_F()
171 ClangASTImporter importer; in TEST_F() local
173 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
177 ASSERT_NE(nullptr, importer.GetDeclMetadata(imported)); in TEST_F()
178 EXPECT_EQ(metadata, importer.GetDeclMetadata(imported)->GetUserID()); in TEST_F()
193 ClangASTImporter importer; in TEST_F() local
195 importer.CopyDecl(&temporary_ast->getASTContext(), source.record_decl); in TEST_F()
200 importer.CopyDecl(&target_ast->getASTContext(), temporary_imported); in TEST_F()
204 ASSERT_NE(nullptr, importer.GetDeclMetadata(imported)); in TEST_F()
205 EXPECT_EQ(metadata, importer.GetDeclMetadata(imported)->GetUserID()); in TEST_F()
217 ClangASTImporter importer; in TEST_F() local
219 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
227 ASSERT_NE(nullptr, importer.GetDeclMetadata(imported)); in TEST_F()
228 EXPECT_EQ(metadata, importer.GetDeclMetadata(imported)->GetUserID()); in TEST_F()
237 ClangASTImporter importer; in TEST_F() local
242 importer.SetRecordLayout(source.record_decl, layout_info); in TEST_F()
249 importer.LayoutRecordType(source.record_decl, bit_size, alignment, in TEST_F()