[libcxx-commits] [libcxx] [libc++] Do not remove a root-name followed by ".." in `path::lexically_normal()` (PR #201261)
Igor Kudrin via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 2 23:30:11 PDT 2026
igorkudrin 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.
https://github.com/llvm/llvm-project/pull/201261
More information about the libcxx-commits
mailing list