diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2024-07-03 19:54:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-03 19:54:20 +0200 |
| commit | a0176533766201eca58b20a11e42ab30c73d1b1b (patch) | |
| tree | 89917cee08964f88f6a9dbf3eee7c3243245130f /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | 9e6b46a9846cf5051c2aaef361af0fe1a76c856e (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
