[libcxx-commits] [libcxx] [libc++] Do not remove a root-name followed by ".." in `path::lexically_normal()` (PR #201261)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 3 03:54:05 PDT 2026
Zingam wrote:
> > FYI: The current implementation matches GCC's https://godbolt.org/z/41s5jes61
>
> Godbolt probably runs `gcc` and `clang` on Linux, so there are no root-names in these samples: https://godbolt.org/z/6Kc8h3hf4. The difference is visible on Windows.
>
> > https://wg21.link/fs.path.generic#6.5
>
> Exactly, the clause tells about filenames, not the root-name.
Have you checked what is the output if compiled with MinGW on Windows?
https://github.com/llvm/llvm-project/pull/201261
More information about the libcxx-commits
mailing list