Lines Matching refs:source
43 clang_utils::SourceASTWithRecord source; in TEST_F() local
49 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
54 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F()
62 EXPECT_EQ(origin.ctx, &source.ast->getASTContext()); in TEST_F()
63 EXPECT_EQ(origin.decl, source.record_decl); in TEST_F()
68 clang_utils::SourceASTWithRecord source; in TEST_F() local
73 CompilerType imported = importer.CopyType(*target_ast, source.record_type); in TEST_F()
78 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F()
87 EXPECT_EQ(origin.ctx, &source.ast->getASTContext()); in TEST_F()
88 EXPECT_EQ(origin.decl, source.record_decl); in TEST_F()
120 clang_utils::SourceASTWithRecord source; in TEST_F() local
126 importer.DeportDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
131 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F()
142 clang_utils::SourceASTWithRecord source; in TEST_F() local
147 CompilerType imported = importer.DeportType(*target_ast, source.record_type); in TEST_F()
152 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F()
164 clang_utils::SourceASTWithRecord source; in TEST_F() local
167 source.ast->SetMetadataAsUserID(source.record_decl, metadata); in TEST_F()
173 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
186 clang_utils::SourceASTWithRecord source; in TEST_F() local
189 source.ast->SetMetadataAsUserID(source.record_decl, metadata); in TEST_F()
195 importer.CopyDecl(&temporary_ast->getASTContext(), source.record_decl); in TEST_F()
212 clang_utils::SourceASTWithRecord source; in TEST_F() local
219 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F()
224 source.ast->SetMetadataAsUserID(source.record_decl, metadata); in TEST_F()
235 clang_utils::SourceASTWithRecord source; in TEST_F() local
241 layout_info.field_offsets[source.field_decl] = 1; in TEST_F()
242 importer.SetRecordLayout(source.record_decl, layout_info); in TEST_F()
249 importer.LayoutRecordType(source.record_decl, bit_size, alignment, in TEST_F()
255 EXPECT_EQ(1U, field_offsets[source.field_decl]); in TEST_F()