Home
last modified time | relevance | path

Searched refs:relative_path (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/
H A Dpath.decompose.pass.cpp72 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 DClangHost.cpp67 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 DBreakpointResolverFileLine.cpp127 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 Dunix-fns.c92 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 Dgtest-filepath.cc196 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 Dgtest-filepath.h103 const FilePath& relative_path);
/llvm-project-15.0.7/lld/Common/
H A DReproduce.cpp40 path::append(res, path::relative_path(abs)); in relativeToRoot()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DPath.cpp27 if (llvm::sys::path::relative_path(Path).empty()) { in absoluteParent()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp170 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPath.h331 StringRef relative_path(StringRef path, Style style = Style::native);
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp413 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 DFileCollector.cpp124 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
H A DSourceCoverageViewHTML.cpp324 SmallString<128> LinkTextStr(sys::path::relative_path(FCS.Name)); in buildLinkToFile()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DFileCollectorTest.cpp154 llvm::sys::path::relative_path(subdir.path())); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DRepresentation.cpp136 return llvm::sys::path::relative_path(FilePath); in calculateRelativeFilePath()
H A DMDGenerator.cpp62 << llvm::sys::path::relative_path(L.Filename) << "#" in writeFileDefinition()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigCompile.cpp307 llvm::StringRef Rel = llvm::sys::path::relative_path(*Path); in compile()
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp452 llvm::sys::path::append(DebugPath, llvm::sys::path::relative_path(OrigDir), in findDebugBinary()
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h920 _LIBCPP_HIDE_FROM_ABI path relative_path() const {
/llvm-project-15.0.7/clang/lib/Lex/
H A DModuleMap.cpp1057 RelativePath = llvm::sys::path::relative_path(RelativePath); in inferFrameworkModule()