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

References

lib/DebugInfo/DWARF/DWARFDebugLine.cpp
 1040          sys::path::is_absolute(Path, sys::path::Style::windows);
lib/Support/Path.cpp
   43     return (style == Style::windows) ? Style::windows : Style::posix;
   43     return (style == Style::windows) ? Style::windows : Style::posix;
   48     if (real_style(style) == Style::windows)
   54     if (real_style(style) == Style::windows)
   69     if (real_style(style) == Style::windows) {
  101     if (real_style(style) == Style::windows) {
  116     if (real_style(style) == Style::windows) {
  262         (real_style(S) == Style::windows && Component.endswith(":"))) {
  351     bool has_drive = (real_style(style) == Style::windows) && b->endswith(":");
  377     bool has_drive = (real_style(style) == Style::windows) && b->endswith(":");
  394     bool has_drive = (real_style(style) == Style::windows) && b->endswith(":");
  535   if (real_style(style) == Style::windows) {
  557   if (real_style(style) != Style::windows)
  596   if (real_style(style) == Style::windows)
  602   if (real_style(style) == Style::windows)
  669       (real_style(style) != Style::windows) || has_root_name(p, style);
  861   if ((rootName || real_style(Style::native) != Style::windows) &&
tools/lld/COFF/DebugTypes.cpp
  142   sys::path::append(path, sys::path::filename(tSPath, sys::path::Style::windows));
tools/lld/COFF/Driver.cpp
  958       sys::path::filename(config->pdbPath, sys::path::Style::windows);
  960       sys::path::extension(config->outputFile, sys::path::Style::windows);
tools/lld/COFF/InputFiles.cpp
   53   return sys::path::filename(path, sys::path::Style::windows);
tools/lld/COFF/PDB.cpp
  258   if (sys::path::is_absolute(fileName, sys::path::Style::windows) ||
  278                                       : sys::path::Style::windows;
  558       precomp.getPrecompFilePath(), sys::path::Style::windows);
tools/lldb/include/lldb/Utility/FileSpec.h
  221   bool IsCaseSensitive() const { return m_style != Style::windows; }
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
  218                                      : llvm::sys::path::Style::windows;
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
 1152         f.startswith("/") ? FileSpec::Style::posix : FileSpec::Style::windows;
 1161                               : FileSpec::Style::windows;
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  368     FileSpec spec(file->getFileName(), FileSpec::Style::windows);
  815         FileSpec this_spec(source_file, FileSpec::Style::windows);
tools/lldb/source/Utility/FileSpec.cpp
   76     : FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {}
  209   if (m_style == Style::windows)
  232   return SetFile(path, triple.isOSWindows() ? Style::windows : Style::posix);
  335     return Style::windows;
  338     return Style::windows;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  179       FileSpec("/foo/baw.so", FileSpec::Style::windows),
tools/lldb/unittests/Utility/FileSpecTest.cpp
   21   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
   42   FileSpec fs_windows_drive("F:", FileSpec::Style::windows);
   47   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
   58   FileSpec fs_windows_long("F:\\bar\\baz", FileSpec::Style::windows);
   69   FileSpec fs_windows_trailing_slash("F:\\bar\\", FileSpec::Style::windows);
   87   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
  100   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
  125   FileSpec fs_windows("baz", FileSpec::Style::windows);
  133   FileSpec fs_windows_root("bar", FileSpec::Style::windows);
  139   FileSpec backward("C:\\foo\\bar", FileSpec::Style::windows);
  140   FileSpec forward("C:/foo/bar", FileSpec::Style::windows);
  156     FileSpec one(test.first, FileSpec::Style::windows);
  157     FileSpec two(test.second, FileSpec::Style::windows);
  195   EXPECT_EQ(FileSpec::Style::windows,
  197   EXPECT_EQ(FileSpec::Style::windows,
  266               FileSpec(test.first, FileSpec::Style::windows).GetPath())
  272   auto win = FileSpec::Style::windows;
  369   FileSpec fs_windows("C:\\foo\\bar\\baz", FileSpec::Style::windows);
unittests/Support/Path.cpp
   76   EXPECT_TRUE(path::is_separator('\\', path::Style::windows));
  209   EXPECT_EQ("\\", path::filename("c:\\", path::Style::windows));
  210   EXPECT_EQ("c:", path::parent_path("c:\\", path::Style::windows));
  215   EXPECT_EQ("\\", path::filename("c:\\\\", path::Style::windows));
  216   EXPECT_EQ("c:", path::parent_path("c:\\\\", path::Style::windows));
  246   EXPECT_EQ("\\", path::filename("\\\\", path::Style::windows));
  247   EXPECT_EQ("", path::parent_path("\\\\", path::Style::windows));
  249   EXPECT_EQ("\\", path::filename("\\\\\\", path::Style::windows));
  250   EXPECT_EQ("", path::parent_path("\\\\\\", path::Style::windows));
  271   EXPECT_THAT(GetComponents("c:\\c\\e\\foo.txt", path::Style::windows),
  284   Paths.emplace_back("c:\\foo\\", path::Style::windows);
  295   RootPaths.emplace_back("c:\\", path::Style::windows);
  297   RootPaths.emplace_back("c:\\\\", path::Style::windows);
 1142     path::native(Win, path::Style::windows);
 1195             remove_dots(".\\.\\\\foolz\\wat", false, path::Style::windows));
 1196   EXPECT_EQ("", remove_dots(".\\\\\\\\\\", false, path::Style::windows));
 1199             remove_dots(".\\a\\..\\b\\c", false, path::Style::windows));
 1200   EXPECT_EQ("b\\c", remove_dots(".\\a\\..\\b\\c", true, path::Style::windows));
 1201   EXPECT_EQ("c", remove_dots(".\\.\\c", true, path::Style::windows));
 1203             remove_dots("..\\a\\b\\..\\c", true, path::Style::windows));
 1205             remove_dots("..\\..\\a\\b\\..\\c", true, path::Style::windows));
 1208   EXPECT_TRUE(path::remove_dots(Path1, true, path::Style::windows));