[libcxx-commits] [libcxx] [lldb] Unify naming of internal pointer members in std::vector and std::__split_buffer (PR #115517)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 12 13:50:44 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 3431d133ccfa75d16964be455238e2a1da0c2004...6e51b126cc760188925f8925325a7a90c193451a lldb/examples/synthetic/libcxx.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- libcxx.py	2024-11-12 21:44:45.000000 +0000
+++ libcxx.py	2024-11-12 21:50:10.272888 +0000
@@ -764,11 +764,11 @@
                     map_.GetChildMemberWithName("__end_cap_")
                 )
             else:
                 map_endcap = map_.GetChildMemberWithName("__cap_")
                 if not map_endcap.IsValid():
-                  map_endcap = map_.GetChildMemberWithName("__end_cap_")
+                    map_endcap = map_.GetChildMemberWithName("__end_cap_")
                 map_endcap = map_endcap.GetValueAsUnsigned(0)
 
             # check consistency
             if not map_first <= map_begin <= map_end <= map_endcap:
                 logger.write("map pointers are not monotonic")

``````````

</details>


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


More information about the libcxx-commits mailing list