summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/thread/TestThreadAPI.py
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2024-07-03 19:54:20 +0200
committerGitHub <noreply@github.com>2024-07-03 19:54:20 +0200
commita0176533766201eca58b20a11e42ab30c73d1b1b (patch)
tree89917cee08964f88f6a9dbf3eee7c3243245130f /lldb/test/API/python_api/thread/TestThreadAPI.py
parent9e6b46a9846cf5051c2aaef361af0fe1a76c856e (diff)
[lldb][DataFormatter][NFC] Factor out MapIterator logic into separate helper (#97544)
This patch factors all the logic for advancing the `MapIterator` out of `GetChildAtIndex`. This, in my opinion, helps readability, and will be useful for upcoming cleanups in this area. While here, some drive-by changes: * added a couple of clarification comments * fixed a variable name typo * turned the `return lldb::ValueObjectSP()` into `return nullptr` * added an assertion to make sure we keep the iterator cache in a valid state
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions