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

Declarations

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

References

lib/Object/ArchiveWriter.cpp
  530   if (sys::path::root_name(PathTo) != sys::path::root_name(DirFrom))
  530   if (sys::path::root_name(PathTo) != sys::path::root_name(DirFrom))
lib/Support/Path.cpp
  611   return !root_name(p, style).empty();
  879     StringRef cdrn = path::root_name(current_dir);
  888     StringRef pRootName      = path::root_name(p);
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
   76   StringRef Root = sys::path::root_name(Filename);
tools/lld/Common/Reproduce.cpp
   34   StringRef root = path::root_name(abs);
unittests/Support/Path.cpp
  160     (void)path::root_name(*i);