diff options
author | Angel Garcia Gomez <angelgarcia@google.com> | 2015-11-02 17:02:52 +0000 |
---|---|---|
committer | Angel Garcia Gomez <angelgarcia@google.com> | 2015-11-02 17:02:52 +0000 |
commit | 5daa9b231f5ba14ee8dd902260c8edae13cc01de (patch) | |
tree | c0381867f9e3b8b561140bdae71d48f06e2104d1 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | ff11a44fe015732132f0d3e130c503ebfba86a80 (diff) | |
download | bcm5719-llvm-5daa9b231f5ba14ee8dd902260c8edae13cc01de.tar.gz bcm5719-llvm-5daa9b231f5ba14ee8dd902260c8edae13cc01de.zip |
Make the modernize-loop-convert's const-detection smarter.
Summary:
Now, it detects that several kinds of usages are can't modify the elements. Examples:
-When an usage is a call to a const member function or operator of the element.
-If the element is used as an argument to a function or constructor that takes a const-reference or a value.
-LValue to RValue conversion, if the element is a fundamental type (which allows the use of most of the builtin operators).
Reviewers: klimek
Subscribers: cfe-commits, alexfh
Differential Revision: http://reviews.llvm.org/D14198
llvm-svn: 251808
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions