diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-10-19 23:22:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 23:22:11 -0700 |
commit | 7961fa36baa31234a26e5028492688dbbf79cc8e (patch) | |
tree | 1ab396511c523b9e712bb73e1e735f68b3c62f5a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | e1a584305e6a0a25213a3a87901f0c08d78c5d5d (diff) | |
download | llvm-7961fa36baa31234a26e5028492688dbbf79cc8e.zip llvm-7961fa36baa31234a26e5028492688dbbf79cc8e.tar.gz llvm-7961fa36baa31234a26e5028492688dbbf79cc8e.tar.bz2 |
[libc++] Fix uninitialized algorithms when using unconstrained comparison operators (#69373)
If an iterator passed to std::uninitialized_copy & friends provided an
unconstrained comparison operator, we would trigger an ambiguous
overload resolution because we used to compare against
__unreachable_sentinel in our implementation.
This patch fixes that by only comparing the output iterator when it is
actually required, i.e. in the <ranges> versions of the algorithms.
Fixes #69334
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions