[all-commits] [llvm/llvm-project] 78d693: [libcxx] Implement append and operator/ properly f...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Feb 17 23:04:27 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78d693faecf98718dadfa6e39f291e5999f380c7
      https://github.com/llvm/llvm-project/commit/78d693faecf98718dadfa6e39f291e5999f380c7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M libcxx/include/filesystem
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp

  Log Message:
  -----------
  [libcxx] Implement append and operator/ properly for windows

The root_path function has to be changed to return the parsed bit
as-is; otherwise a path like "//net" gets a root path of "//net/", as
the root name, "//net", gets the root directory (an empty string) appended,
forming "//net/". (The same doesn't happen for the root dir "c:" though.)

Differential Revision: https://reviews.llvm.org/D91178




More information about the All-commits mailing list