Searched refs:ASTFileName (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | ASTUnitTest.cpp | 85 llvm::SmallString<256> ASTFileName; in TEST_F() local 87 llvm::sys::fs::createTemporaryFile("ast-unit", "ast", FD, ASTFileName)); in TEST_F() 88 ToolOutputFile ast_file(ASTFileName, FD); in TEST_F() 89 AST->Save(ASTFileName.str()); in TEST_F() 91 EXPECT_TRUE(llvm::sys::fs::exists(ASTFileName)); in TEST_F() 94 std::string(ASTFileName.str()), PCHContainerOps->getRawReader(), in TEST_F()
|
| /llvm-project-15.0.7/clang/unittests/CrossTU/ |
| H A D | CrossTranslationUnitTest.cpp | 54 llvm::SmallString<256> ASTFileName; in HandleTranslationUnit() local 56 llvm::sys::fs::createTemporaryFile("f_ast", "ast", ASTFD, ASTFileName)); in HandleTranslationUnit() 57 llvm::ToolOutputFile ASTFile(ASTFileName, ASTFD); in HandleTranslationUnit() 64 IndexFile.os() << "9:c:@F@f#I# " << ASTFileName << "\n"; in HandleTranslationUnit() 81 ASTWithDefinition->Save(ASTFileName.str()); in HandleTranslationUnit() 82 EXPECT_TRUE(llvm::sys::fs::exists(ASTFileName)); in HandleTranslationUnit()
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 1720 getOriginalSourceFile(const std::string &ASTFileName, FileManager &FileMgr,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 5100 const std::string &ASTFileName, FileManager &FileMgr, in getOriginalSourceFile() argument 5103 auto Buffer = FileMgr.getBufferForFile(ASTFileName, /*IsVolatile=*/false, in getOriginalSourceFile() 5107 << ASTFileName << Buffer.getError().message(); in getOriginalSourceFile() 5116 Diags.Report(diag::err_fe_not_a_pch_file) << ASTFileName << std::move(Err); in getOriginalSourceFile() 5122 Diags.Report(diag::err_fe_pch_malformed_block) << ASTFileName; in getOriginalSourceFile() 5142 Diags.Report(diag::err_fe_pch_malformed_block) << ASTFileName; in getOriginalSourceFile()
|