[all-commits] [llvm/llvm-project] a13c10: [libc++] [test] Fix LWG3146 "Excessive unwrapping ...

Quuxplusone via All-commits all-commits at lists.llvm.org
Tue Jan 25 16:31:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a13c10588cd57bcef93f2a27a74dd7c32bc6850b
      https://github.com/llvm/llvm-project/commit/a13c10588cd57bcef93f2a27a74dd7c32bc6850b
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M libcxx/docs/Status/Cxx2bIssues.csv
    M libcxx/include/__functional/reference_wrapper.h
    M libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp
    M libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp
    A libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp
    M libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp
    M libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp

  Log Message:
  -----------
  [libc++] [test] Fix LWG3146 "Excessive unwrapping in std::ref/cref"

Drive-by constexprify the existing tests, too.

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




More information about the All-commits mailing list