[libcxx-commits] [libcxx] [libc++] Remove a bunch of unnecessary type indirections from __tree (PR #145295)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 27 01:07:06 PDT 2025


philnik777 wrote:

> Yea LLDB tries to grab the `__node_pointer` typedef for formatting the std::map::iterator. Any chance we can avoid adding the `_LIBCPP_NODEBUG` attribute to it? That would be currently the easiest path forward. Otherwise we'd have to think about how to rewrite the formatter

I've just done that and the tests pass again. Thanks! I'Ve also added a comment that the pretty printer relies on this, so people know that it's important.

https://github.com/llvm/llvm-project/pull/145295


More information about the libcxx-commits mailing list