[all-commits] [llvm/llvm-project] 670381: [LLDB][DataFormatter] Add support for std::__map_c...

Michael137 via All-commits all-commits at lists.llvm.org
Thu Jul 21 06:22:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6703812688b84100a159ec793f677952ea8e3eba
      https://github.com/llvm/llvm-project/commit/6703812688b84100a159ec793f677952ea8e3eba
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list