diff options
author | Jie Fu <jiefu@tencent.com> | 2024-08-13 17:13:04 +0800 |
---|---|---|
committer | Jie Fu <jiefu@tencent.com> | 2024-08-13 17:13:04 +0800 |
commit | b7ebb67b86888de05419e07a38b932344ac9c7a7 (patch) | |
tree | 148bf87de51671b78e65d4fa0e27510ba852769b /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | e0ad56b7359be7fddf858c8be7b118f5be906c33 (diff) | |
download | llvm-b7ebb67b86888de05419e07a38b932344ac9c7a7.zip llvm-b7ebb67b86888de05419e07a38b932344ac9c7a7.tar.gz llvm-b7ebb67b86888de05419e07a38b932344ac9c7a7.tar.bz2 |
[SCEV] Fix -Wrange-loop-construct (NFC)
/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:12009:21:
error: loop variable '[S, Mul]' creates a copy from type 'const value_type' (aka 'const llvm::detail::DenseMapPair<const llvm::SCEV *, int>') [-Werror,-Wrange-loop-construct]
for (const auto [S, Mul] : Multiplicity) {
^
/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:12009:10:
note: use reference type 'const value_type &' (aka 'const llvm::detail::DenseMapPair<const llvm::SCEV *, int> &') to prevent copying
for (const auto [S, Mul] : Multiplicity) {
^~~~~~~~~~~~~~~~~~~~~
&
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions