This patch adds support for formatting std::map::const_iterator.
It's just a matter of adding const_ to the existing regex.
Testing
- Added test case to existing API tests
Paths
| Differential D129962
[LLDB][DataFormatter] Add support for std::__map_const_iterator ClosedPublic Authored by Michael137 on Jul 17 2022, 4:20 AM.
Details Summary This patch adds support for formatting std::map::const_iterator. Testing
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 21 2022, 6:07 AM This revision was landed with ongoing or failed builds.Jul 21 2022, 6:22 AM Closed by commit rG6703812688b8: [LLDB][DataFormatter] Add support for std::__map_const_iterator (authored by Michael137). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 446464 lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp
|
I know this is just a test, but maybe add a \n at the end?