summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectList.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2015-09-23 18:40:47 +0000
committerManuel Klimek <klimek@google.com>2015-09-23 18:40:47 +0000
commit143b6442381dc7a667fc17c75dfc1d8c6c52fdfe (patch)
tree2bc2b406b8d307f2954fd3beab6b311bb28e3d8a /lldb/source/Core/ValueObjectList.cpp
parente1440256520aba388015a15f5c273afa799271d5 (diff)
downloadbcm5719-llvm-143b6442381dc7a667fc17c75dfc1d8c6c52fdfe.tar.gz
bcm5719-llvm-143b6442381dc7a667fc17c75dfc1d8c6c52fdfe.zip
Fix loop-convert for const references to containers.
Previously we would use a non-const loop variable in the range-based loop for: void f(const std::vector<int> &v) { for (size_t i = 0; i < v.size(); ++i) { Now we use const auto&. Note that we'll also want to use a copy at least for simple types. llvm-svn: 248418
Diffstat (limited to 'lldb/source/Core/ValueObjectList.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud