[Lldb-commits] [lldb] [lldb] Show value for libcxx and libstdcxx summary and remove pointer value in libcxx container summary (PR #125294)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 31 13:20:55 PST 2025
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 0d46657cb6bf04430ff8222e1974e49441767d47...bbecf2f990c1fdf8ed993c3bba4c68212ebb299c lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/deque/TestDataFormatterLibcxxDeque.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/variant/TestDataFormatterLibStdcxxVariant.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- libcxx/deque/TestDataFormatterLibcxxDeque.py 2025-01-31 21:05:14.000000 +0000
+++ libcxx/deque/TestDataFormatterLibcxxDeque.py 2025-01-31 21:18:12.773787 +0000
@@ -7,11 +7,11 @@
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class LibcxxDequeDataFormatterTestCase(TestBase):
- def check_numbers(self, var_name, show_ptr = False):
+ def check_numbers(self, var_name, show_ptr=False):
if show_ptr:
self.expect(
"frame variable " + var_name,
patterns=[var_name + " = 0x.* size=7"],
substrs=[
--- libcxx/vector/TestDataFormatterLibcxxVector.py 2025-01-31 21:05:14.000000 +0000
+++ libcxx/vector/TestDataFormatterLibcxxVector.py 2025-01-31 21:18:12.924859 +0000
@@ -8,12 +8,12 @@
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class LibcxxVectorDataFormatterTestCase(TestBase):
- def check_numbers(self, var_name, show_ptr = False):
- if show_ptr:
+ def check_numbers(self, var_name, show_ptr=False):
+ if show_ptr:
self.expect(
"frame variable " + var_name,
patterns=[var_name + " = 0x.* size=7"],
substrs=[
"[0] = 1",
``````````
</details>
https://github.com/llvm/llvm-project/pull/125294
More information about the lldb-commits
mailing list