[libcxx-commits] [libcxx] Unify naming of internal pointer members in std::vector and std::__split_buffer (PR #115517)
Michael Buch via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 11 13:15:41 PST 2024
Michael137 wrote:
> Thank you for your feedback and help, ldionne! The diff you mentioned seems like a reasonable solution. I will wait for @Michael137's confirmation. If necessary, I can make adjustments in the PR to ensure compatibility.
Yea we usually try to keep backward compatibility for a couple of years (or until it becomes hard to maintain). Here's an example of how you could support two layouts: https://github.com/llvm/llvm-project/blob/25d1ac11d537debb217c65c2bcdd087a60cff58e/lldb/examples/synthetic/libcxx.py#L715-L718
I.e., call `GetChildMemberWithName` with the new name. If that doesn't work. Try with the old name. Let me know if you need help making this work
https://github.com/llvm/llvm-project/pull/115517
More information about the libcxx-commits
mailing list