Commit 4380ded
committed
[lldb][DataFormatter][NFC] Use GetFirstValueOfLibCXXCompressedPair in std::map formatter
This avoids duplicating the logic to get the first
element of a libc++ `__compressed_pair`. This will
be useful in upcoming refactorings of this formatter.
Drive-by changes:
* Renamed `m_item` to `size_node` for readability;
`m_item` suggests it's a member variable, which it
is not.1 parent 0129ff1 commit 4380ded
1 file changed
+8
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 224 | + | |
236 | 225 | | |
237 | | - | |
| 226 | + | |
238 | 227 | | |
239 | | - | |
| 228 | + | |
| 229 | + | |
240 | 230 | | |
241 | 231 | | |
242 | 232 | | |
| |||
0 commit comments