Home
last modified time | relevance | path

Searched refs:File2 (Results 1 – 9 of 9) sorted by relevance

/llvm-project/llvm/unittests/Support/
H A DFileOutputBufferTest.cpp64 SmallString<128> File2(TestDirectory); in TEST() local
65 File2.append("/file2"); in TEST()
68 FileOutputBuffer::create(File2, 8192); in TEST()
76 ASSERT_EQ(fs::access(Twine(File2), fs::AccessMode::Exist), in TEST()
78 ASSERT_NO_ERROR(fs::remove(File2.str())); in TEST()
/llvm-project/llvm/unittests/Testing/Support/
H A DTempPathTest.cpp47 std::optional<TempFile> File1, File2; in TEST() local
60 File2 = std::move(*File1); in TEST()
61 ASSERT_EQ(Path, File2->path()); in TEST()
67 File2 = std::nullopt; in TEST()
/llvm-project/llvm/utils/fpcmp/
H A Dfpcmp.cpp23 File2(cl::Positional, cl::desc("<input file #2>"), cl::Required); variable
35 int DF = DiffFilesWithTolerance(File1, File2, AbsTolerance, RelTolerance, in main()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory-legacy-functions.cpp104 FILE *File2 = ::fopen("test_name.txt", "w+"); in test_resource_creators() local
179 FILE *File2 = freopen("testfile.txt", "w", File1); in test_legacy_consumers() local
186 gsl::owner<FILE *> File3 = freopen("testfile.txt", "w", File2); // Bad, File2 no owner in test_legacy_consumers()
/llvm-project/clang-tools-extra/docs/
H A Dclang-doc.rst32 $ clang-doc File1.cpp File2.cpp ... FileN.cpp
78 $ clang-doc File1.cpp File2.cpp ... FileN.cpp
/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp181 const ResourceEntryRef &Entry, StringRef File1, StringRef File2) { in makeDuplicateResourceError() argument
207 << File2; in makeDuplicateResourceError()
229 StringRef File1, StringRef File2) { in makeDuplicateResourceError() argument
249 OS << ", in " << File1 << " and in " << File2; in makeDuplicateResourceError()
/llvm-project/llvm/unittests/DebugInfo/BTF/
H A DBTFParserTest.cpp64 char File2[4] = "b.c"; member
91 {0, offsetof(B::S, File2), offsetof(B::S, Line1), LC(42, 4)},
165 EXPECT_EQ(BTF.findString(offsetof(MockData1::B::S, File2)), "b.c"); in TEST()
/llvm-project/llvm/unittests/IR/
H A DIRBuilderTest.cpp1227 auto File2 = DIB.createFile("file.h", "/"); in TEST_F()
1234 auto TMF2 = DIB.createTempMacroFile(TMF1, 5, File2); in TEST_F()
1250 EXPECT_EQ(File2, TMF2->getFile()); in TEST_F()
1256 auto MF2 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 5, File2, in TEST_F()
1229 auto File2 = DIB.createFile("file.h", "/"); TEST_F() local
/llvm-project/clang/unittests/Tooling/
H A DRefactoringTest.cpp525 StringRef File2 = "format_2.cpp"; in TEST_F()
527 FileID ID2 = Context.createInMemoryFile(File2, Code2); in TEST_F()
536 FileToReplaces[std::string(File2)] = toReplacements( in TEST_F()
526 StringRef File2 = "format_2.cpp"; TEST_F() local