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:38:31 +0000
committerAngel Garcia Gomez <angelgarcia@google.com>2015-11-03 16:38:31 +0000
commit432ff5e205f28f5e8a05ca5a043e05f4a9f20d2c (patch)
tree27657bd6f016f2a10cef12672fc4e8506c10ff0d /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp
parentbc78a65adcf6c21443ebd646abb058c545adefb8 (diff)
downloadbcm5719-llvm-432ff5e205f28f5e8a05ca5a043e05f4a9f20d2c.tar.gz
bcm5719-llvm-432ff5e205f28f5e8a05ca5a043e05f4a9f20d2c.zip
Handle correctly containers that are data members in modernize-loop-convert.
Summary: I recently found that the variable naming wasn't working as expected with containers that are data members. The new index always received the name "Elem" (or equivalent) regardless of the container's name. The check was assuming that the container's declaration was a VarDecl, which cannot be converted to a FieldDecl (a data member), and then it could never retrieve its name. This also fixes some cases where the check failed to find the container at all (so it didn't do any fix) because of the same reason. Reviewers: klimek Subscribers: cfe-commits, alexfh Differential Revision: http://reviews.llvm.org/D14289 llvm-svn: 251943
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud