Home
last modified time | relevance | path

Searched refs:replace_path_prefix (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp1610 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1614 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1618 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1622 Found = path::replace_path_prefix(Path, EmptyPrefix, NewPrefix); in TEST()
1626 Found = path::replace_path_prefix(Path, OldPrefix, EmptyPrefix); in TEST()
1634 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1638 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix2); in TEST()
1642 Found = path::replace_path_prefix(Path, EmptyPrefix, NewPrefix); in TEST()
1646 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
1650 Found = path::replace_path_prefix(Path, OldPrefix, NewPrefix); in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp38 using llvm::sys::path::replace_path_prefix;
227 if (replace_path_prefix(RelativePath, LocalIndexRoot, "")) in toProtobuf()
339 if (!replace_path_prefix(Result, RemoteIndexRoot, "")) in uriToRelativePath()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMapper.cpp108 llvm::sys::path::replace_path_prefix(File, Prefix, ""); in getFile()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPath.h194 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix,
/llvm-project-15.0.7/clang/lib/Basic/
H A DLangOptions.cpp67 if (llvm::sys::path::replace_path_prefix(Path, Entry.first, Entry.second)) in remapPathPrefix()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp345 llvm::sys::path::replace_path_prefix(RelFile, IncludingDir, "./"); in calculateIncludePath()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCContext.cpp860 if (llvm::sys::path::replace_path_prefix(Path, V.first, V.second)) in remapDebugPath()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp838 sys::path::replace_path_prefix(si.displayName, options.SourcePrefix, in print()
/llvm-project-15.0.7/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp525 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp518 bool replace_path_prefix(SmallVectorImpl<char> &Path, StringRef OldPrefix, in replace_path_prefix() function
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp1369 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp1597 if (llvm::sys::path::replace_path_prefix(Path, Entry.first, Entry.second)) in normalizeFilename()
H A DCGDebugInfo.cpp463 if (llvm::sys::path::replace_path_prefix(P, Entry.first, Entry.second)) in remapDIPath()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp2015 if (llvm::sys::path::replace_path_prefix(p, Entry.first, Entry.second)) in remapPath()