[all-commits] [llvm/llvm-project] 968e27: [libc++] Use addressof to fix debug tests.
mordante via All-commits
all-commits at lists.llvm.org
Tue Oct 12 09:15:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 968e27397caabafdad46a79dee5677f64bc8da89
https://github.com/llvm/llvm-project/commit/968e27397caabafdad46a79dee5677f64bc8da89
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M libcxx/include/__hash_table
M libcxx/include/list
M libcxx/include/unordered_map
M libcxx/test/std/containers/sequences/list/list.cons/assign_copy.addressof.compile.pass.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/assign_copy.addressof.compile.pass.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/assign_copy.addressof.compile.pass.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/assign_copy.addressof.compile.pass.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/assign_copy.addressof.compile.pass.cpp
Log Message:
-----------
[libc++] Use addressof to fix debug tests.
Fixes the tests added in D110852 for the debug iterators.
Similar issues with hijacking `operator&` still exist, they will be
addressed separately.
Reviewed By: #libc, ldionne, Quuxplusone
Differential Revision: https://reviews.llvm.org/D111564
More information about the All-commits
mailing list