[all-commits] [llvm/llvm-project] 91d6de: [libcxx] [test] Use dedicated types for the invoca...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Apr 6 09:55:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91d6debbb9136a0ac30278135bd4089c9e614ad1
      https://github.com/llvm/llvm-project/commit/91d6debbb9136a0ac30278135bd4089c9e614ad1
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M libcxx/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp
    M libcxx/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Use dedicated types for the invocable concept tests for multiple overloads

This should be clearer, instead of relying on rules for implicit
conversions regarding built in float/integer types.

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


  Commit: 948dd664c3ed30dd853df03cb931436f280bad4a
      https://github.com/llvm/llvm-project/commit/948dd664c3ed30dd853df03cb931436f280bad4a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M libcxx/include/experimental/functional
    M libcxx/include/functional
    M libcxx/include/utility
    M libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp

  Log Message:
  -----------
  [libcxx] Fix the type attribute for a couple templates

Use `_LIBCPP_TEMPLATE_VIS` instead of `_LIBCPP_TYPE_VIS` for a template
class.

This fixes the nodiscard_extensions.pass.cpp and a couple
func.search.default test cases when built in MSVC/DLL configurations.

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


Compare: https://github.com/llvm/llvm-project/compare/3ae03f67fe41...948dd664c3ed


More information about the All-commits mailing list