[all-commits] [llvm/llvm-project] 5eece1: [clang] Automatically link against oldnames just a...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Oct 19 14:07:33 PDT 2020


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

  Changed paths:
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/test/Driver/msvc-link.c

  Log Message:
  -----------
  [clang] Automatically link against oldnames just as linking against libcmt

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


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

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Do error printfs to stderr in filesystems tests

This makes them more readable in llvm-lit's output on failures.

This only applies the change on the filesystem test subdir.

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


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

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

  Log Message:
  -----------
  [libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to be noexcept

The standard doesn't declare this overload as noexcept, but doesn't
either say that it strictly cannot be noexcept either. The function
doesn't throw on errors that are signaled via error_code, but the
standard says that it may throw a bad_alloc.

This fixes an error with libstdc++ on linux.

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


  Commit: 41c5070888947aeebd90db484d4c6a7b34889a13
      https://github.com/llvm/llvm-project/commit/41c5070888947aeebd90db484d4c6a7b34889a13
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Don't require fs::path::operator(string_type&&) to be noexcept

Mark this as a libcpp specific test; the standard doesn't say that
this method should be noexcept.

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


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

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Add LIBCPP_ONLY() around another test for an implementation detail

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


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

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Exclude domain socket tests on windows, like bsd/darwin

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


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

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Mark tests that require specific allocation behaviours as libcpp only

This fixes/silences a few failures on libstdc++ on linux.

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


  Commit: 5c39eebc126dca73c086562bbd9598d4d4c7c197
      https://github.com/llvm/llvm-project/commit/5c39eebc126dca73c086562bbd9598d4d4c7c197
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M libcxx/test/support/filesystem_test_helper.h
    M libcxx/utils/libcxx/test/config.py

  Log Message:
  -----------
  [libcxx] [test] Fix filesystem_test_helper.h to compile for windows

Use .string() instead of .native() in places where we want to combine
paths with std::string.

Convert some methods to take a fs::path as parameter instead of
std::string, for cases where they are called with paths as
parameters (which can't be implicitly converted to std::string if
the path's string_type is wstring).

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


  Commit: 81db3c31aafec72f1cfec2a9da4381ece7f97a29
      https://github.com/llvm/llvm-project/commit/81db3c31aafec72f1cfec2a9da4381ece7f97a29
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
    M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/absolute.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix all remaining issues with fs::path::string_type being wstring

Use fs::path as variable type instead of std::string, when the input
potentially is a path, as they can't be implicitly converted back to
string.

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


  Commit: 93671fffb5ef37060da54199cb9e009188f63a0e
      https://github.com/llvm/llvm-project/commit/93671fffb5ef37060da54199cb9e009188f63a0e
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp
    M libcxx/test/support/filesystem_test_helper.h

  Log Message:
  -----------
  [libcxx] [test] Use _putenv instead of setenv/unsetenv on windows

Move the functions to the helper header and keep the arch specific
logic there.

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


Compare: https://github.com/llvm/llvm-project/compare/0ddf4bd47c18...93671fffb5ef


More information about the All-commits mailing list