2 Commits

Author SHA1 Message Date
Nerixyz
292a77c475
[LLDB][NFC] Remove excessive use of auto from MSVC STL formatters (#175019)
Some MSVC STL formatters made excessive use of `auto`, especially the
`std::deque` one
(https://github.com/llvm/llvm-project/pull/172360#pullrequestreview-3639850321).
This PR replaces the uses with the concrete type.
2026-01-08 18:13:48 +01:00
nerix
cc380f6e9b
[LLDB] Add formatters for MSVC STL map-like types (#148385)
This PR adds formatters for `std::map`, `std::set`, `std::multimap`,
`std::multiset` as well as their iterators. It's done in one PR because
the types are essentially the same (a tree) except for their value type.
The iterators are required because of the tests.

`MsvcStlTreeIterSyntheticFrontEnd` is based on the libc++ equivalent. As
opposed to `std::list`, there aren't that many duplicates, so I didn't
create a generic type.

For reference, the tree is implemented in
313964b78a/stl/inc/xtree.

Towards #24834.
2025-07-23 12:37:04 +01:00