[LLDB][DataFormatter] Add support for std::__map_const_iterator
authorMichael Buch <michaelbuch12@gmail.com>
Sun, 17 Jul 2022 11:16:39 +0000 (12:16 +0100)
committerMichael Buch <michaelbuch12@gmail.com>
Thu, 21 Jul 2022 13:21:12 +0000 (14:21 +0100)
commit6703812688b84100a159ec793f677952ea8e3eba
treed5cd2c818036651f6f367cb26b12dee1ea00f6ea
parent5a5439cb7332b9f4456026642ef4dc37224ae183
[LLDB][DataFormatter] Add support for std::__map_const_iterator

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

Differential Revision: https://reviews.llvm.org/D129962
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