[Lldb-commits] [PATCH] D18044: Fix a couple of cornercases in FileSpec + tests

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 10 07:05:56 PST 2016

labath added a comment.

Comment at: unittests/Host/FileSpecTest.cpp:57
@@ +56,3 @@
+    // We get "F:/bar" instead.
+    // EXPECT_STREQ("F:\\bar", fs_windows_trailing_slash.GetDirectory().GetCString());
+    EXPECT_STREQ(".", fs_windows_trailing_slash.GetFilename().GetCString());
I've also identified one more issue in windows path handling (GetDirectory() always returns posix-style paths), which I do not attempt to address right now.


More information about the lldb-commits mailing list