/llvm-project/llvm/unittests/Testing/Support/ |
H A D | TempPathTest.cpp | 47 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 D | owning-memory-legacy-functions.cpp | 102 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 D | FileOutputBufferTest.cpp | 42 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 D | fpcmp.cpp | 21 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 D | clang-doc.rst | 32 $ clang-doc File1.cpp File2.cpp ... FileN.cpp 78 $ clang-doc File1.cpp File2.cpp ... FileN.cpp
|
/llvm-project/clang/test/CodeGen/ |
H A D | thinlto-debug-names-tu-reuse.ll | 6 ;; File1
|
H A D | debug-names-compound-type-units.ll | 6 ;; File1
|
/llvm-project/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 181 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 D | BTFParserTest.cpp | 63 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 D | RefactoringTest.cpp | 524 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 D | IRBuilderTest.cpp | 1226 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
|