diff options
author | Angel Garcia Gomez <angelgarcia@google.com> | 2015-11-06 09:59:14 +0000 |
---|---|---|
committer | Angel Garcia Gomez <angelgarcia@google.com> | 2015-11-06 09:59:14 +0000 |
commit | 7856ad0bccd6d4956b2dd319ccdf8375d3b73964 (patch) | |
tree | e8b9eeb44e01a4f6a1a2a325c63a22ce589fd592 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | dccffd4fcc5e23d6f79a39bf3c04146b2684c485 (diff) | |
download | bcm5719-llvm-7856ad0bccd6d4956b2dd319ccdf8375d3b73964.tar.gz bcm5719-llvm-7856ad0bccd6d4956b2dd319ccdf8375d3b73964.zip |
Fix another case where loop-convert wasn't handling correctly data members.
Summary:
If the container expression was obtained from the point where "size" (which usually is a const method) is invoked, then the topmost node in this expression may be an implicit cast to const.
When the container is a data member, the check was trying to obtain the member expression directly and was failing in the case mentioned above. This is solved by ignoring implicit casts.
Reviewers: klimek
Subscribers: cfe-commits, alexfh
Differential Revision: http://reviews.llvm.org/D14378
llvm-svn: 252278
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions