diff options
author | Victor Vianna <victor.vianna10@gmail.com> | 2025-10-15 17:58:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-15 12:58:35 -0400 |
commit | 67790d3fb06b184b7be9c4d3e36ab01f0ac4198e (patch) | |
tree | 0d22d056e8d5f2f35d6235051a9b6deae8e2d264 /llvm/lib/Support/TextEncoding.cpp | |
parent | f49e3d178b8b8ab3ad6a87f999b42a5a76353c2e (diff) | |
download | llvm-67790d3fb06b184b7be9c4d3e36ab01f0ac4198e.zip llvm-67790d3fb06b184b7be9c4d3e36ab01f0ac4198e.tar.gz llvm-67790d3fb06b184b7be9c4d3e36ab01f0ac4198e.tar.bz2 |
[llvm] Fix C++23 error in {Succ,Pred}Iterator (#163555)
[1] calls insert in an underlying vector and in C++23 that requires the
iterators to satisfy stricter constraints [2][3].
[1]
https://github.com/llvm/llvm-project/blob/67e6a376209c9cc9576012c1c042bee9b852d584/llvm/lib/Analysis/LazyValueInfo.cpp#L333
[2]
https://github.com/llvm/llvm-project/blob/20bcf123e2db033f208462f34f63e292efbe0946/libcxx/include/__vector/vector.h#L645-L649
[3]
https://github.com/llvm/llvm-project/blob/20bcf123e2db033f208462f34f63e292efbe0946/libcxx/include/__algorithm/ranges_copy_n.h#L61
Co-authored-by: Victor Hugo Vianna Silva <victorvianna@google.com>
Diffstat (limited to 'llvm/lib/Support/TextEncoding.cpp')
0 files changed, 0 insertions, 0 deletions