[all-commits] [llvm/llvm-project] 26005c: [libcxx] Make path::format a non-class enum

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sat Feb 20 14:26:19 PST 2021


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

  Changed paths:
    M libcxx/include/filesystem
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp

  Log Message:
  -----------
  [libcxx] Make path::format a non-class enum

The spec doesn't declare it as an enum class, and being declared
as an enum class breaks referring to the values as e.g.
path::auto_format.

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


  Commit: 3d6ca4b8dcee38ce2053fdddaa9576e5aa978bdf
      https://github.com/llvm/llvm-project/commit/3d6ca4b8dcee38ce2053fdddaa9576e5aa978bdf
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Call create_directory_symlink when linking directories

This makes the symlinks work properly on windows.

A similar round of cleanup was done in
c41bda7f5fc26e4602a029646991d6a5c59cb365, but these tests were
added after that.

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


Compare: https://github.com/llvm/llvm-project/compare/6b286d93f7ec...3d6ca4b8dcee


More information about the All-commits mailing list