| /llvm-project-15.0.7/clang/tools/c-arcmt-test/ |
| H A D | c-arcmt-test.c | 13 CXRemapping remap; in print_remappings() local 18 remap = clang_getRemappings(path); in print_remappings() 19 if (!remap) in print_remappings() 22 N = clang_remap_getNumFiles(remap); in print_remappings() 24 clang_remap_getFilenames(remap, i, &origFname, &transFname); in print_remappings() 33 clang_remap_dispose(remap); in print_remappings() 38 CXRemapping remap; in print_remappings_filelist() local 43 remap = clang_getRemappingsFromFileList(files, numFiles); in print_remappings_filelist() 44 if (!remap) in print_remappings_filelist() 47 N = clang_remap_getNumFiles(remap); in print_remappings_filelist() [all …]
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | ARCMigrate.cpp | 58 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappings() 60 bool err = arcmt::getFileRemappings(remap->Vec, migrate_dir_path,&diagBuffer); in clang_getRemappings() 73 return remap.release(); in clang_getRemappings() 85 std::unique_ptr<Remap> remap(new Remap()); in clang_getRemappingsFromFileList() 91 return remap.release(); in clang_getRemappingsFromFileList() 104 bool err = arcmt::getFileRemappingsFromFileList(remap->Vec, Files, in clang_getRemappingsFromFileList() 114 return remap.release(); in clang_getRemappingsFromFileList() 117 return remap.release(); in clang_getRemappingsFromFileList()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | instr-remap.test | 1 ; RUN: llvm-profdata merge -text %S/Inputs/instr-remap.proftext -r %S/Inputs/instr-remap.remap -o %… 2 ; RUN: diff -b %S/Inputs/instr-remap.expected %t.output
|
| H A D | sample-remap.test | 1 …: llvm-profdata merge -sample -text %S/Inputs/sample-remap.proftext -r %S/Inputs/sample-remap.rema… 2 ; RUN: diff -b %S/Inputs/sample-remap.expected %t.output
|
| /llvm-project-15.0.7/clang/test/ARCMT/designated-init-in-header/ |
| H A D | designated-init-in-header.m | 1 …ncetype -x objective-c %S/file1.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t1.remap 2 …ncetype -x objective-c %S/file2.m.in -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t2.remap 3 // RUN: c-arcmt-test %t1.remap %t2.remap | arcmt-test -verify-transformed-files %S/header1.h.result…
|
| /llvm-project-15.0.7/clang/test/ARCMT/allowlisted/ |
| H A D | objcmt-with-allowlist.m | 2 …igrate-instancetype -objcmt-migrate-ns-macros %s -triple x86_64-apple-darwin11 -migrate -o %t.remap 3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %S/header2… 4 …s-macros -objcmt-allowlist-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap 5 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result
|
| H A D | objcmt-with-allowlist-impl.m | 2 …ancetype -objcmt-allowlist-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap 3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %s.result
|
| H A D | objcmt-with-allowlist-impl.m.result | 2 …ancetype -objcmt-allowlist-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap 3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %s.result
|
| /llvm-project-15.0.7/clang/include/clang/ARCMigrate/ |
| H A D | FileRemapper.h | 56 void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf); 69 void remap(const FileEntry *file, std::unique_ptr<llvm::MemoryBuffer> memBuf); 70 void remap(const FileEntry *file, const FileEntry *newfile);
|
| H A D | ARCMT.h | 78 bool getFileRemappings(std::vector<std::pair<std::string,std::string> > &remap, 87 std::vector<std::pair<std::string,std::string> > &remap,
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | remap-applying.c.result | 3 // RUN: echo "[{\"file\": \"%/s\", \"offset\": 1, \"remove\": 2, }]" > %t.remap 4 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %s.result
|
| H A D | objcmt-instancetype-unnecessary-diff.m | 1 …g_cc1 -objcmt-migrate-instancetype %s -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t.remap 2 // RUN: FileCheck %s -input-file=%t.remap
|
| H A D | objcmt-designated-initializer.m | 2 …c1 -objcmt-migrate-designated-init %s -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t.remap 3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %s.result
|
| H A D | objcmt-designated-initializer.m.result | 2 …c1 -objcmt-migrate-designated-init %s -triple x86_64-apple-darwin11 -fobjc-arc -migrate -o %t.remap 3 // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %s.result
|
| /llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/ |
| H A D | remap.ll | 1 …s=sample-profile -sample-profile-file=%S/Inputs/remap.prof -sample-profile-remapping-file=%S/Input… 4 ; RUN: llvm-profdata merge -sample -extbinary %S/Inputs/remap.prof -o %t.extbinary.afdo 5 …e-profile-file=%t.extbinary.afdo -sample-profile-remapping-file=%S/Inputs/remap.map | opt -passes=…
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | FileRemapper.cpp | 104 remap(pairs[i].first, pairs[i].second); in initFromFile() 158 remap(origFE, *newE); in flushToFile() 223 void FileRemapper::remap(StringRef filePath, in remap() function in FileRemapper 225 remap(getOriginalFile(filePath), std::move(memBuf)); in remap() 228 void FileRemapper::remap(const FileEntry *file, in remap() function in FileRemapper 236 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) { in remap() function in FileRemapper
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | chain-remap-types.m | 1 // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t1 %S/Inputs/chain-remap-types1.h 2 // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-p…
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | remap.ll | 1 ; RUN: llvm-profdata merge %S/Inputs/remap.proftext -o %t.profdata 2 …-test-profile-file=%t.profdata -pgo-test-profile-remapping-file=%S/Inputs/remap.map -S | FileCheck…
|
| /llvm-project-15.0.7/clang/test/VFS/Inputs/ |
| H A D | vfsoverlay-directory.yaml | 6 'type': 'directory-remap',
|
| H A D | unknown-redirect.yaml | 5 'type': 'directory-remap',
|
| H A D | vfsoverlay-directory-relative.yaml | 7 'type': 'directory-remap',
|
| H A D | redirect-and-fallthrough.yaml | 6 'type': 'directory-remap',
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cxxmap/ |
| H A D | incomplete.test | 1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/incomplete.sym -r %S/Inputs/remap.map -o /dev/null …
|
| H A D | ambiguous.test | 1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/ambiguous.sym -r %S/Inputs/remap.map -o /dev/null -…
|
| H A D | remap.test | 1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/after.sym -r %S/Inputs/remap.map -o %t.output -Wamb…
|