[lldb] Fix libc++ string formatter for the "unstable" layout
authorPavel Labath <pavel@labath.sk>
Thu, 30 Jun 2022 14:30:51 +0000 (16:30 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 30 Jun 2022 14:44:54 +0000 (16:44 +0200)
commitcff509f33ba44fd1d0d9b579791dad527d50068e
tree7fe7a134903590ff4354e0a35cf073c7be70b641
parentf34dcf27637f5b657d9e244187631243bfccc25a
[lldb] Fix libc++ string formatter for the "unstable" layout

D128285 only changed the stable (v1) layout, so the matching change in
D128694 broke the formatting of the unstable strings. This fixes that,
and ensures compatibility with all older layouts as well.
lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp