diff options
author | Fangrui Song <maskray@google.com> | 2020-01-01 15:55:14 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-01 16:06:04 -0800 |
commit | eeef50b1fee91dbe993187324003d2665ceae331 (patch) | |
tree | 15f68eb8fac2485d6624d4962f011dc8d64bce73 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 681b1be774964a804beabfb7c5e3bdab8f979e4a (diff) | |
download | bcm5719-llvm-eeef50b1fee91dbe993187324003d2665ceae331.tar.gz bcm5719-llvm-eeef50b1fee91dbe993187324003d2665ceae331.zip |
[mlir] Fix -Wrange-loo-analysis warnings
for (const auto &x : llvm::zip(..., ...))
->
for (auto x : llvm::zip(..., ...))
The return type of zip() is a wrapper that wraps a tuple of references.
> warning: loop variable 'p' is always a copy because the range of type 'detail::zippy<detail::zip_shortest, ArrayRef<long> &, ArrayRef<long> &>' does not return a reference [-Wrange-loop-analysis]
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions