[libcxx-commits] [libcxx] [libc++] fix back slash as root dir breaks lexically_relative, lexically_proximate and hash_value on Windows (PR #99780)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 5 12:41:16 PDT 2024


================
@@ -267,7 +267,7 @@ path path::lexically_relative(const path& base) const {
   // Find the first mismatching element
----------------
ldionne wrote:

I haven't reviewed this in detail yet, but could you add a test for the property that "`a == b` implies `hash_value(a) == hash_value(b)`"?

https://github.com/llvm/llvm-project/pull/99780


More information about the libcxx-commits mailing list