Home
last modified time | relevance | path

Searched refs:remap (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/clang/tools/c-arcmt-test/
H A Dc-arcmt-test.c13 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 DARCMigrate.cpp58 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 Dinstr-remap.test1 ; 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 Dsample-remap.test1 …: 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 Ddesignated-init-in-header.m1 …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 Dobjcmt-with-allowlist.m2 …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 Dobjcmt-with-allowlist-impl.m2 …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 Dobjcmt-with-allowlist-impl.m.result2 …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 DFileRemapper.h56 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 DARCMT.h78 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 Dremap-applying.c.result3 // 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 Dobjcmt-instancetype-unnecessary-diff.m1 …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 Dobjcmt-designated-initializer.m2 …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 Dobjcmt-designated-initializer.m.result2 …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 Dremap.ll1 …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 DFileRemapper.cpp104 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 Dchain-remap-types.m1 // 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 Dremap.ll1 ; 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 Dvfsoverlay-directory.yaml6 'type': 'directory-remap',
H A Dunknown-redirect.yaml5 'type': 'directory-remap',
H A Dvfsoverlay-directory-relative.yaml7 'type': 'directory-remap',
H A Dredirect-and-fallthrough.yaml6 'type': 'directory-remap',
/llvm-project-15.0.7/llvm/test/tools/llvm-cxxmap/
H A Dincomplete.test1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/incomplete.sym -r %S/Inputs/remap.map -o /dev/null …
H A Dambiguous.test1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/ambiguous.sym -r %S/Inputs/remap.map -o /dev/null -…
H A Dremap.test1 RUN: llvm-cxxmap %S/Inputs/before.sym %S/Inputs/after.sym -r %S/Inputs/remap.map -o %t.output -Wamb…

12