[all-commits] [llvm/llvm-project] 67790d: [llvm] Fix C++23 error in {Succ, Pred}Iterator (#16...
Victor Vianna via All-commits
all-commits at lists.llvm.org
Wed Oct 15 09:58:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67790d3fb06b184b7be9c4d3e36ab01f0ac4198e
https://github.com/llvm/llvm-project/commit/67790d3fb06b184b7be9c4d3e36ab01f0ac4198e
Author: Victor Vianna <victor.vianna10 at gmail.com>
Date: 2025-10-15 (Wed, 15 Oct 2025)
Changed paths:
M llvm/include/llvm/IR/CFG.h
Log Message:
-----------
[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 at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list