[all-commits] [llvm/llvm-project] f7345d: [libc++] Use addressof in forward_list.

mordante via All-commits all-commits at lists.llvm.org
Thu Nov 11 09:47:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7345de64fd2d6c5528e940a8aed1a9b95b46183
      https://github.com/llvm/llvm-project/commit/f7345de64fd2d6c5528e940a8aed1a9b95b46183
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M libcxx/include/forward_list
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_lvalue.addressof.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_lvalue_pred.addressof.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_rvalue.addressof.compile.pass.cpp
    A libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_rvalue_pred.addressof.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Use addressof in forward_list.

This addresses the usage of `operator&` in `<forward_list>`.

(Note there are still more headers with the same issue.)

Reviewed By: #libc, Quuxplusone, ldionne

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




More information about the All-commits mailing list