| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
| H A D | path.decompose.pass.cpp | 72 std::string relative_path; member 165 assert(p.relative_path() == TC.relative_path); in decompPathTest() 166 assert(p.has_relative_path() != TC.relative_path.empty()); in decompPathTest()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangHost.cpp | 67 llvm::SmallString<32> relative_path(Suffix); in DefaultComputeClangResourceDirectory() local 68 llvm::sys::path::native(relative_path); in DefaultComputeClangResourceDirectory() 69 llvm::sys::path::append(clang_dir, relative_path); in DefaultComputeClangResourceDirectory()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverFileLine.cpp | 127 llvm::StringRef relative_path; in FilterContexts() local 129 relative_path = m_location_spec.GetFileSpec().GetDirectory().GetStringRef(); in FilterContexts() 139 if (!sc_dir.endswith(relative_path)) { in FilterContexts() 143 "doesn't end with {1}", sc_dir, relative_path); in FilterContexts()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | unix-fns.c | 92 void test_open_at(int directory_fd, const char *relative_path) { in test_open_at() argument 94 fd = openat(directory_fd, relative_path, O_RDONLY); // no-warning in test_open_at() 98 …fd = openat(directory_fd, relative_path, O_CREAT); // expected-warning{{Call to 'openat' requires … in test_open_at()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-filepath.cc | 196 const FilePath& relative_path) { in ConcatPaths() argument 198 return relative_path; in ConcatPaths() 200 return FilePath(dir.string() + kPathSeparator + relative_path.string()); in ConcatPaths()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-filepath.h | 103 const FilePath& relative_path);
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | Reproduce.cpp | 40 path::append(res, path::relative_path(abs)); in relativeToRoot()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Path.cpp | 27 if (llvm::sys::path::relative_path(Path).empty()) { in absoluteParent()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 170 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Path.h | 331 StringRef relative_path(StringRef path, Style style = Style::native);
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Path.cpp | 413 StringRef relative_path(StringRef path, Style style) { in relative_path() function 640 return !relative_path(p, style).empty(); in has_relative_path() 942 StringRef bRelativePath = path::relative_path(current_dir); in make_absolute() 943 StringRef pRelativePath = path::relative_path(p); in make_absolute()
|
| H A D | FileCollector.cpp | 124 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageView.cpp | 45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
|
| H A D | SourceCoverageViewHTML.cpp | 324 SmallString<128> LinkTextStr(sys::path::relative_path(FCS.Name)); in buildLinkToFile()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | FileCollectorTest.cpp | 154 llvm::sys::path::relative_path(subdir.path())); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | Representation.cpp | 136 return llvm::sys::path::relative_path(FilePath); in calculateRelativeFilePath()
|
| H A D | MDGenerator.cpp | 62 << llvm::sys::path::relative_path(L.Filename) << "#" in writeFileDefinition()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ConfigCompile.cpp | 307 llvm::StringRef Rel = llvm::sys::path::relative_path(*Path); in compile()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | Symbolize.cpp | 452 llvm::sys::path::append(DebugPath, llvm::sys::path::relative_path(OrigDir), in findDebugBinary()
|
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | path.h | 920 _LIBCPP_HIDE_FROM_ABI path relative_path() const {
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 1057 RelativePath = llvm::sys::path::relative_path(RelativePath); in inferFrameworkModule()
|