This is an archive of the discontinued LLVM Phabricator instance.

[formatters] Add a libstdcpp formatter for multiset and unify tests across stdlibs
ClosedPublic

Authored by danilashtefan on Oct 29 2021, 2:00 AM.

Details

Summary

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.

Diff Detail

Event Timeline

danilashtefan requested review of this revision.Oct 29 2021, 2:00 AM
danilashtefan created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 29 2021, 2:00 AM
danilashtefan retitled this revision from Summary: to [formatters] Add a libstdcpp formatter for multiset. Unify and modify tests across stdlibs.Oct 29 2021, 2:03 AM
danilashtefan edited the summary of this revision. (Show Details)
danilashtefan added a reviewer: wallace.
danilashtefan retitled this revision from [formatters] Add a libstdcpp formatter for multiset. Unify and modify tests across stdlibs to [formatters] Add a libstdcpp formatter for multiset and unify tests across stdlibs.Oct 29 2021, 2:04 AM
wallace requested changes to this revision.Oct 29 2021, 7:22 PM

let's land https://reviews.llvm.org/D112752 first and then this one

lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
915

As mentioned in https://reviews.llvm.org/D112752, you should rename the class to MakeLikeSynthProvider

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
160

remove this line

This revision now requires changes to proceed.Oct 29 2021, 7:22 PM
wallace accepted this revision.Oct 30 2021, 2:47 PM

good job

This revision is now accepted and ready to land.Oct 30 2021, 2:47 PM
This revision was landed with ongoing or failed builds.Oct 30 2021, 3:07 PM
This revision was automatically updated to reflect the committed changes.
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py