[formatters] Add a libstdcpp formatter for multiset and unify tests across stdlibs
authorDanil Stefaniuc <danilashtefan@gmail.com>
Sat, 30 Oct 2021 21:48:26 +0000 (14:48 -0700)
committerWalter Erquinigo <wallace@fb.com>
Sat, 30 Oct 2021 22:07:23 +0000 (15:07 -0700)
commit82ed106567063ea269c6d5669278b733e173a42f
tree4e652ecd76a62f970ed86e902725db8e91566fa6
parent6ecd4a4d01a3f71dc6590194dd00f96550c2ab04
[formatters] Add a libstdcpp formatter for multiset and unify tests across stdlibs

This diff adds a data formatter for libstdcpp's multiset. Besides, it improves and unifies the tests for multiset for libcxx and libstdcpp for maintainability.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D112785
lldb/examples/synthetic/gnu_libstdcpp.py
lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/Makefile [moved from lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile with 54% similarity]
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py [moved from lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py with 74% similarity]
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/main.cpp [new file with mode: 0644]
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp [deleted file]