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

Declarations

include/llvm/Support/Path.h
  226 std::string convert_to_slash(StringRef path, Style style = Style::native);

References

lib/Object/ArchiveWriter.cpp
  531     return sys::path::convert_to_slash(PathTo);
lib/Support/TarWriter.cpp
  175   std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path);
tools/clang/lib/Lex/HeaderSearch.cpp
 1800   return path::convert_to_slash(File.drop_front(BestPrefixLength));
tools/clang/lib/Sema/SemaCodeComplete.cpp
 8643   std::string RelDir = llvm::sys::path::convert_to_slash(Dir);
tools/clang/tools/extra/clangd/Headers.cpp
  206     Suggested = llvm::sys::path::convert_to_slash(
tools/clang/tools/extra/clangd/URI.cpp
   56     Body += llvm::sys::path::convert_to_slash(AbsolutePath);
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  410                llvm::sys::path::convert_to_slash(Body));
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
  229                           llvm::sys::path::convert_to_slash(Root));
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
  232       llvm::sys::path::convert_to_slash(testPath("sub-2/bar.h"));
tools/clang/tools/extra/clangd/unittests/TestFS.cpp
  124                llvm::sys::path::convert_to_slash(Body));
tools/clang/unittests/Tooling/DependencyScannerTest.cpp
  105   EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp");
  106   EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h");
  107   EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h");
  118   EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp");
  119   EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h");
  120   EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h");
  156   EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp");
  157   EXPECT_EQ(convert_to_slash(Deps[1]), "/root/header.h");
  158   EXPECT_EQ(convert_to_slash(Deps[2]), "/root/symlink.h");
  159   EXPECT_EQ(convert_to_slash(Deps[3]), "/root/test2.cpp");
  160   EXPECT_EQ(convert_to_slash(Deps[4]), "/root/symlink.h");
  161   EXPECT_EQ(convert_to_slash(Deps[5]), "/root/header.h");
  191   EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp");
  192   EXPECT_EQ(convert_to_slash(Deps[1]), "/root/header.h");
  193   EXPECT_EQ(convert_to_slash(Deps[2]), "/root/symlink.h");
  194   EXPECT_EQ(convert_to_slash(Deps[3]), "/root/test.cpp");
  195   EXPECT_EQ(convert_to_slash(Deps[4]), "/root/header.h");
  196   EXPECT_EQ(convert_to_slash(Deps[5]), "/root/symlink.h");
tools/lld/Common/Reproduce.cpp
   41   return path::convert_to_slash(res);
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
   36   std::string dir_buffer = convert_to_slash(f.GetDirectory().GetStringRef());
tools/llvm-ar/llvm-ar.cpp
  492         outs() << sys::path::convert_to_slash(ParentDir) << '/';
  504   return CompareFullPath ? sys::path::convert_to_slash(Path)
  646       NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(*FileNameOrErr));
  653           PathOrErr ? *PathOrErr : sys::path::convert_to_slash(*FileNameOrErr));
  687       NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(FileName));
  692           PathOrErr ? *PathOrErr : sys::path::convert_to_slash(FileName));