[llvm] [llvm][Support][Windows] Fix slash in path for remove_directories (PR #121448)
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 09:09:56 PST 2025
================
@@ -1326,6 +1326,9 @@ TEST_F(FileSystemTest, Remove) {
ASSERT_NO_ERROR(fs::remove_directories("D:/footest"));
+ ASSERT_NO_ERROR(fs::remove_directories(Twine(BaseDir) + "/foo/bar/baz"));
----------------
jsji wrote:
yes, it was failing without the fix .
https://github.com/llvm/llvm-project/pull/121448
More information about the llvm-commits
mailing list