Searched refs:ToAST (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterFixtures.cpp | 26 assert(ToAST); in createVirtualFileIfNeeded() 67 ASTUnit *ToAST) { in lazyInitImporter() argument 68 assert(ToAST); in lazyInitImporter() 70 Importer.reset(Creator(ToAST->getASTContext(), ToAST->getFileManager(), in lazyInitImporter() 82 lazyInitImporter(SharedState, ToAST); in import() 94 lazyInitImporter(SharedState, ToAST); in importOrError() 101 lazyInitImporter(SharedState, ToAST); in import() 119 if (ToAST) in lazyInitToAST() 151 assert(!ToAST); in getImportedDecl() 190 assert(!ToAST); in getToTuDecl() [all …]
|
| H A D | ASTImporterFixtures.h | 44 void createVirtualFileIfNeeded(ASTUnit *ToAST, StringRef FileName, 47 void createVirtualFileIfNeeded(ASTUnit *ToAST, StringRef FileName, 127 ASTUnit *ToAST); 129 ASTUnit *ToAST, Decl *FromDecl); 132 ASTUnit *ToAST, Decl *FromDecl); 134 ASTUnit *ToAST, QualType FromType); 157 std::unique_ptr<ASTUnit> ToAST; 253 ToAST = tooling::buildASTFromCodeWithArgs( in testImport() local 257 &ToCtx = ToAST->getASTContext(); in testImport() 259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport() [all …]
|
| H A D | ASTImporterTest.cpp | 1892 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 1925 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2144 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2182 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2214 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2274 auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2365 Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 6600 SourceManager &ToSM = ToAST->getSourceManager(); in TEST_P() 6634 SourceManager &ToSM = ToAST->getSourceManager(); in TEST_P() 6668 SourceManager &ToSM = ToAST->getSourceManager(); in TEST_P() [all …]
|
| H A D | ASTImporterGenericRedeclTest.cpp | 403 Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TypedTest_ImportPrototypeThenProtoAndDefinition()
|