This revision was automatically updated to reflect the committed changes. Closed by commit rL367264: [clang-doc] Fix failing tests on Windows (authored by DiegoAstiazaran, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D65419?vs=212225&id=212234#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65419/new/ https://reviews.llvm.org/D65419 Files: clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp Index: clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp =================================================================== --- clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp +++ clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp @@ -252,6 +252,8 @@ llvm::SmallString<128> Path = computeRelativePath(Type.Path, CurrentDirectory); llvm::sys::path::append(Path, Type.Name + ".html"); + // Paths in HTML must be in posix-style + llvm::sys::path::native(Path, llvm::sys::path::Style::posix); return genLink(Type.Name, Path); }
Index: clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp =================================================================== --- clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp +++ clang-tools-extra/trunk/clang-doc/HTMLGenerator.cpp @@ -252,6 +252,8 @@ llvm::SmallString<128> Path = computeRelativePath(Type.Path, CurrentDirectory); llvm::sys::path::append(Path, Type.Name + ".html"); + // Paths in HTML must be in posix-style + llvm::sys::path::native(Path, llvm::sys::path::Style::posix); return genLink(Type.Name, Path); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits