[libcxx-commits] [libcxx] [libc++] Replace `__compressed_pair` with `[[no_unique_address]]` (PR #76756)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 25 09:23:51 PST 2024


================
@@ -11,161 +11,79 @@
 #define _LIBCPP___MEMORY_COMPRESSED_PAIR_H
----------------
ldionne wrote:

This change is going to have a very interesting impact on debuggability. It will make these types a lot easier to understand in the debugger since `__compressed_pair` was really difficult to inspect.

However, it will require a change in the LLDB data formatters almost 100% certain, CCing @Michael137. Michael, we're basically changing the names of members for a lot of types for which there are LLDB formatters, and it would be nice to avoid breaking LLDB when we do that.

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


More information about the libcxx-commits mailing list