reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/Path.h
  275 StringRef relative_path(StringRef path, Style style = Style::native);

References

lib/DebugInfo/Symbolize/Symbolize.cpp
  234   llvm::sys::path::append(DebugPath, llvm::sys::path::relative_path(OrigDir),
lib/Support/FileCollector.cpp
   94   sys::path::append(DstPath, sys::path::relative_path(CopyFrom));
lib/Support/Path.cpp
  632   return !relative_path(p, style).empty();
  693   StringRef rel = path::relative_path(path, style);
  890     StringRef bRelativePath  = path::relative_path(current_dir);
  891     StringRef pRelativePath  = path::relative_path(p);
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
  210     path::append(CacheDst, path::relative_path(CopyFrom));
tools/lld/Common/Reproduce.cpp
   40   path::append(res, path::relative_path(abs));
tools/llvm-cov/SourceCoverageView.cpp
   45   sys::path::append(FullPath, sys::path::relative_path(ParentPath));
tools/llvm-cov/SourceCoverageViewHTML.cpp
  323   SmallString<128> LinkTextStr(sys::path::relative_path(FCS.Name));
unittests/Support/FileCollectorTest.cpp
  176                           llvm::sys::path::relative_path(subdir.Path));