[Lldb-commits] [lldb] Report back errors in GetNumChildren() (PR #84265)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 6 16:27:24 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 21be2fbd17f9ff6f3f04e0ababc91c9cdd5aed85...cb496e138b46732de73d0e56b2bfc3f749355953 lldb/test/API/functionalities/valobj_errors/TestValueObjectErrors.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestValueObjectErrors.py 2024-03-07 00:21:27.000000 +0000
+++ TestValueObjectErrors.py 2024-03-07 00:27:15.402484 +0000
@@ -5,11 +5,9 @@
class ValueObjectErrorsTestCase(TestBase):
def test(self):
"""Test that the error message for a missing type
- is visible when printing an object"""
+ is visible when printing an object"""
self.build()
- lldbutil.run_to_source_breakpoint(
- self, "break here", lldb.SBFileSpec('main.c'))
- self.expect('v -ptr-depth 1 x',
- substrs=['<incomplete type "Opaque">'])
+ lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.c"))
+ self.expect("v -ptr-depth 1 x", substrs=['<incomplete type "Opaque">'])
``````````
</details>
https://github.com/llvm/llvm-project/pull/84265
More information about the lldb-commits
mailing list