reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
214 static llvm::Optional<Style> GuessPathStyle(llvm::StringRef absolute_path);
654 FileSpec::Style style = FileSpec::GuessPathStyle(record->Name)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp692 FileSpec::GuessPathStyle(comp_dir).getValueOr(FileSpec::Style::native); 700 "", FileSpec::GuessPathStyle(name).getValueOr(FileSpec::Style::native));tools/lldb/unittests/Utility/FileSpecTest.cpp
193 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("/foo/bar.txt")); 194 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("//net/bar.txt")); 196 FileSpec::GuessPathStyle(R"(C:\foo.txt)")); 198 FileSpec::GuessPathStyle(R"(\\net\foo.txt)")); 199 EXPECT_EQ(llvm::None, FileSpec::GuessPathStyle("foo.txt")); 200 EXPECT_EQ(llvm::None, FileSpec::GuessPathStyle("foo/bar.txt"));