[all-commits] [llvm/llvm-project] fdbfff: [libcxx] [test] Use string() instead of native() a...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Oct 16 07:37:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fdbfff8fd41f874f05a4c0a3f8f20964942d7833
      https://github.com/llvm/llvm-project/commit/fdbfff8fd41f874f05a4c0a3f8f20964942d7833
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

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

  Log Message:
  -----------
  [libcxx] [test] Use string() instead of native() as parameter to std::ifstream/ofstream in copy_file_large.pass.cpp

This fixes building with libstdc++ for windows. MS STL has got
ifstream/ofstream overloads that taken wide strings though.

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


  Commit: 701fa703fc7774bad01a70d6e4c721f634bbeceb
      https://github.com/llvm/llvm-project/commit/701fa703fc7774bad01a70d6e4c721f634bbeceb
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

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

  Log Message:
  -----------
  [libcxx] [test] Use fs::path::string_type instead of std::string in fs.op.relative

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


  Commit: 66427d7359ac94d11bda18d613984ddf296c0302
      https://github.com/llvm/llvm-project/commit/66427d7359ac94d11bda18d613984ddf296c0302
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Mark tests for libcxx specific implementation details with LIBCPP_ONLY()

This matches an existing marking in enum.path.format.pass.cpp.

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


  Commit: ddb4693a92e763d6cc0e7e2b3b60d662d0716581
      https://github.com/llvm/llvm-project/commit/ddb4693a92e763d6cc0e7e2b3b60d662d0716581
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Add (void) return casts on functions marked nodiscard in MS STL

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


Compare: https://github.com/llvm/llvm-project/compare/59a3b1afb285...ddb4693a92e7


More information about the All-commits mailing list