Home
last modified time | relevance | path

Searched refs:File1 (Results 1 – 11 of 11) sorted by relevance

/llvm-project/llvm/unittests/Testing/Support/
H A DTempPathTest.cpp47 std::optional<TempFile> File1, File2; in TEST() local
48 File1.emplace(D.path("file"), "suffix", "content"); in TEST()
49 EXPECT_EQ("file.suffix", sys::path::filename(File1->path())); in TEST()
52 MemoryBuffer::getFile(File1->path()); in TEST()
57 std::string Path = File1->path().str(); in TEST()
60 File2 = std::move(*File1); in TEST()
64 File1 = std::nullopt; in TEST()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory-legacy-functions.cpp102 FILE *File1 = std::fopen("test_name.txt", "w+"); in test_resource_creators() local
115 File5 = File1; in test_resource_creators()
118 gsl::owner<FILE *> File6 = File1; in test_resource_creators()
178 gsl::owner<FILE *> File1 = fopen("testfile.txt", "r"); // Ok in test_legacy_consumers() local
179 FILE *File2 = freopen("testfile.txt", "w", File1); in test_legacy_consumers()
/llvm-project/llvm/unittests/Support/
H A DFileOutputBufferTest.cpp42 SmallString<128> File1(TestDirectory); in TEST() local
43 File1.append("/file1"); in TEST()
46 FileOutputBuffer::create(File1, 8192); in TEST()
59 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); in TEST()
61 ASSERT_NO_ERROR(fs::remove(File1.str())); in TEST()
/llvm-project/llvm/utils/fpcmp/
H A Dfpcmp.cpp21 File1(cl::Positional, cl::desc("<input file #1>"), cl::Required); variable
35 int DF = DiffFilesWithTolerance(File1, File2, AbsTolerance, RelTolerance, in main()
/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/clang/test/CodeGen/
H A Dthinlto-debug-names-tu-reuse.ll6 ;; File1
H A Ddebug-names-compound-type-units.ll6 ;; File1
/llvm-project/llvm/lib/Object/
H A DWindowsResource.cpp181 const ResourceEntryRef &Entry, StringRef File1, StringRef File2) { in makeDuplicateResourceError() argument
206 OS << "/language " << Entry.getLanguage() << ", in " << File1 << " and in " 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.cpp63 char File1[4] = "a.c"; member
84 {16, offsetof(B::S, File1), offsetof(B::S, Line1), LC(7, 1)},
85 {32, offsetof(B::S, File1), offsetof(B::S, Line2), LC(14, 5)},
164 EXPECT_EQ(BTF.findString(offsetof(MockData1::B::S, File1)), "a.c"); in TEST()
/llvm-project/clang/unittests/Tooling/
H A DRefactoringTest.cpp524 StringRef File1 = "format_1.cpp"; in TEST_F()
526 FileID ID1 = Context.createInMemoryFile(File1, Code1); in TEST_F()
531 FileToReplaces[std::string(File1)] = toReplacements( in TEST_F()
525 StringRef File1 = "format_1.cpp"; TEST_F() local
/llvm-project/llvm/unittests/IR/
H A DIRBuilderTest.cpp1226 auto File1 = DIB.createFile("main.c", "/"); in TEST_F()
1232 auto TMF1 = DIB.createTempMacroFile(nullptr, 0, File1); in TEST_F()
1263 auto MF1 = DIMacroFile::get(Ctx, dwarf::DW_MACINFO_start_file, 0, File1, in TEST_F()
1228 auto File1 = DIB.createFile("main.c", "/"); TEST_F() local