summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
diff options
context:
space:
mode:
authorAngel Garcia Gomez <angelgarcia@google.com>2015-11-03 16:31:36 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-11-03 16:31:36 +0000
commit5b5c94ba2c460f610d3c5e51fe2411eb366a68a2 (patch)
tree7008a066946a754c005abbd673e436bfa97bce08 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
parentb8c3b1523fd75bbb56f4c6ebb30fd6a027e34194 (diff)
downloadbcm5719-llvm-5b5c94ba2c460f610d3c5e51fe2411eb366a68a2.tar.gz
bcm5719-llvm-5b5c94ba2c460f610d3c5e51fe2411eb366a68a2.zip
Improve more the const-detection in modernize-loop-convert.
Summary: The previous change was focused in detecting when a non-const object was used in a constant way. Looks like I forgot the most important and trivial case: when the object is already constant. Failing to detect this cases results in compile errors, due to trying to bind a constant object to a non-const reference in the range-for statement. This change should fix that. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D14282 llvm-svn: 251940
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud