[all-commits] [llvm/llvm-project] 26544b: [libc++] Use addressof in unordered_set.

mordante via All-commits all-commits at lists.llvm.org
Sat Jan 22 02:41:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26544b98f7bf744d2ccd29cc6559db24bc1a4e50
      https://github.com/llvm/llvm-project/commit/26544b98f7bf744d2ccd29cc6559db24bc1a4e50
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-01-22 (Sat, 22 Jan 2022)

  Changed paths:
    M libcxx/include/unordered_set
    A libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/emplace_hint.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/insert_hint_const_lvalue.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/insert_hint_rvalue.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/iterator.operators.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move.addressof.compile.pass.cpp
    A libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.addressof.compile.pass.cpp

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

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

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

Reviewed By: #libc, philnik, Quuxplusone

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




More information about the All-commits mailing list