|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 184 if (llvm::sys::path::is_absolute(Filename, llvm::sys::path::Style::posix))
lib/DebugInfo/DWARF/DWARFDebugLine.cpp 1039 return sys::path::is_absolute(Path, sys::path::Style::posix) ||
lib/Object/ArchiveWriter.cpp 543 sys::path::append(Relative, sys::path::Style::posix, "..");
546 sys::path::append(Relative, sys::path::Style::posix, *ToI);
lib/Support/Path.cpp 43 return (style == Style::windows) ? Style::windows : Style::posix;
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 280 llvm::sys::path::native(StylesheetPath, llvm::sys::path::Style::posix);
295 llvm::sys::path::native(ScriptPath, llvm::sys::path::Style::posix);
321 llvm::sys::path::native(Path, llvm::sys::path::Style::posix);
444 llvm::sys::path::append(FileURL, llvm::sys::path::Style::posix, L.Filename);
tools/clang/tools/extra/clangd/FileDistance.cpp 48 native(Result, llvm::sys::path::Style::posix);
73 Rest = parent_path(Rest, llvm::sys::path::Style::posix);
124 Rest = parent_path(Rest, llvm::sys::path::Style::posix)) {
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 764 llvm::sys::path::begin(Path, llvm::sys::path::Style::posix),
770 Path, llvm::sys::path::Style::posix),
tools/clang/tools/extra/clangd/index/dex/Dex.cpp 319 Body = llvm::sys::path::parent_path(Body, llvm::sys::path::Style::posix);
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 725 llvm::sys::path::native(Result, llvm::sys::path::Style::posix);
tools/lld/COFF/PDB.cpp 259 sys::path::is_absolute(fileName, sys::path::Style::posix))
277 ? sys::path::Style::posix
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp 192 FileSpec source_spec(source.GetPath(false), FileSpec::Style::posix);
235 FileSpec destination_spec(destination.GetPath(false), FileSpec::Style::posix);
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 985 loaded_image->SetFile(name_string, llvm::sys::path::Style::posix);
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 303 auto style = llvm::sys::path::Style::posix;
tools/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp 217 ? llvm::sys::path::Style::posix
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 1152 f.startswith("/") ? FileSpec::Style::posix : FileSpec::Style::windows;
1160 ? FileSpec::Style::posix
tools/lldb/source/Utility/FileSpec.cpp 41 return FileSpec::Style::posix;
46 return (style == FileSpec::Style::posix ||
48 GetNativeStyle() == FileSpec::Style::posix));
76 : FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {}
232 return SetFile(path, triple.isOSWindows() ? Style::windows : Style::posix);
333 return Style::posix;
tools/lldb/unittests/Expression/CppModuleConfigurationTest.cpp 46 result.Append(FileSpec(path, FileSpec::Style::posix));
tools/lldb/unittests/Host/FileSystemTest.cpp 190 EXPECT_TRUE(fs.Exists(FileSpec("/foo", FileSpec::Style::posix)));
197 EXPECT_TRUE(fs.Readable(FileSpec("/foo", FileSpec::Style::posix)));
200 EXPECT_FALSE(fs.Readable(FileSpec("/qux", FileSpec::Style::posix)));
208 fs.GetByteSize(FileSpec("/foo", FileSpec::Style::posix)));
216 fs.GetPermissions(FileSpec("/foo", FileSpec::Style::posix)));
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 172 FileSpec("/foo/bar.so", FileSpec::Style::posix),
173 FileSpec("/foo/baz.so", FileSpec::Style::posix),
206 FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
230 FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
tools/lldb/unittests/Target/ModuleCacheTest.cpp 49 FileSpec fs("/", FileSpec::Style::posix);
tools/lldb/unittests/Utility/FileSpecTest.cpp 16 FileSpec fs_posix("/foo/bar", FileSpec::Style::posix);
27 FileSpec fs_posix_root("/", FileSpec::Style::posix);
32 FileSpec fs_net_drive("//net", FileSpec::Style::posix);
37 FileSpec fs_net_root("//net/", FileSpec::Style::posix);
53 FileSpec fs_posix_long("/foo/bar/baz", FileSpec::Style::posix);
64 FileSpec fs_posix_trailing_slash("/foo/bar/", FileSpec::Style::posix);
75 FileSpec fs_posix("/foo", FileSpec::Style::posix);
81 FileSpec fs_posix_2("/foo", FileSpec::Style::posix);
94 FileSpec fs_posix_root("/", FileSpec::Style::posix);
109 FileSpec fs = FileSpec("/foo", FileSpec::Style::posix)
117 FileSpec fs_posix("foo", FileSpec::Style::posix);
121 FileSpec fs_posix_2("foo/bar", FileSpec::Style::posix);
129 FileSpec fs_posix_root("bar", FileSpec::Style::posix);
172 FileSpec one(test.first, FileSpec::Style::posix);
173 FileSpec two(test.second, FileSpec::Style::posix);
186 FileSpec one(test.first, FileSpec::Style::posix);
187 FileSpec two(test.second, FileSpec::Style::posix);
193 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("/foo/bar.txt"));
194 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("//net/bar.txt"));
234 FileSpec(test.first, FileSpec::Style::posix).GetPath());
318 FileSpec spec(path, FileSpec::Style::posix);
336 FileSpec spec(path, FileSpec::Style::posix);
342 FileSpec fs_posix("/foo/bar/baz", FileSpec::Style::posix);
353 FileSpec fs_posix_relative("./foo/bar/baz", FileSpec::Style::posix);
362 FileSpec fs_posix_relative2("./", FileSpec::Style::posix);
tools/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp 97 info_bar.GetExecutableFile().SetFile("/foo/bar", FileSpec::Style::posix);
102 FileSpec::Style::posix);
tools/lldb/unittests/Utility/ReproducerTest.cpp 56 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)),
59 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
61 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
66 reproducer.SetReplay(FileSpec("//bogus/path", FileSpec::Style::posix)),
85 reproducer.SetReplay(FileSpec("//bogus/path", FileSpec::Style::posix)),
91 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
93 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
98 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)),
107 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)),
113 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
121 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)),
136 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)),
141 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix),
unittests/Support/Path.cpp 77 EXPECT_FALSE(path::is_separator('\\', path::Style::posix));
1143 path::native(Posix, path::Style::posix);
1212 remove_dots("././/foolz/wat", false, path::Style::posix));
1213 EXPECT_EQ("", remove_dots("./////", false, path::Style::posix));
1215 EXPECT_EQ("a/../b/c", remove_dots("./a/../b/c", false, path::Style::posix));
1216 EXPECT_EQ("b/c", remove_dots("./a/../b/c", true, path::Style::posix));
1217 EXPECT_EQ("c", remove_dots("././c", true, path::Style::posix));
1218 EXPECT_EQ("../a/c", remove_dots("../a/b/../c", true, path::Style::posix));
1220 remove_dots("../../a/b/../c", true, path::Style::posix));
1221 EXPECT_EQ("/a/c", remove_dots("/../../a/c", true, path::Style::posix));
1223 remove_dots("/../a/b//../././/c", true, path::Style::posix));
1226 EXPECT_TRUE(path::remove_dots(Path2, true, path::Style::posix));
unittests/Support/VirtualFileSystemTest.cpp 181 llvm::sys::path::native(S, Result, llvm::sys::path::Style::posix);