aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-08-20 14:36:11 -0400
committerGitHub <noreply@github.com>2024-08-20 14:36:11 -0400
commitf73050e722dd2e484358d03674eb186f3a2f4799 (patch)
tree79b54a16cad0ff83eae72de1ba130b4545a61d6e /llvm/lib/Object/MachOObjectFile.cpp
parent31e55d461693df035049e09cbeeb8886ca2cb6d3 (diff)
downloadllvm-f73050e722dd2e484358d03674eb186f3a2f4799.zip
llvm-f73050e722dd2e484358d03674eb186f3a2f4799.tar.gz
llvm-f73050e722dd2e484358d03674eb186f3a2f4799.tar.bz2
[libc++] Fix several double-moves in the code base (#104616)
This patch hardens the "test iterators" we use to test algorithms by ensuring that they don't get double-moved. As a result of this hardening, the tests started reporting multiple failures where we would double-move iterators, which are being fixed in this patch. In particular: - Fixed a double-move in pstl.partition - Add coverage for begin()/end() in subrange tests - Fix tests for ranges::ends_with and ranges::contains, which were incorrectly calling begin() twice on the same subrange containing non-copyable input iterators. Fixes #100709
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions