[Lldb-commits] [PATCH] D46783: FileSpec objects that resolve to "." should have "." in m_filename and m_directory empty.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 15 08:50:23 PDT 2018

clayborg added a comment.

So I made a fix to LLVM and there are tests that are testing for the empty string:

[ RUN      ] Support.RemoveDots
/Users/gclayton/Documents/src/llvm/clean/llvm/unittests/Support/Path.cpp:1149: Failure

  Expected: ""

To be equal to: remove_dots(".\\\\\\\\\\", false, path::Style::windows)

  Which is: "."

/Users/gclayton/Documents/src/llvm/clean/llvm/unittests/Support/Path.cpp:1166: Failure

  Expected: ""

To be equal to: remove_dots("./////", false, path::Style::posix)

  Which is: "."

Are we not concerned with this?


More information about the lldb-commits mailing list