[Lldb-commits] [lldb] [lldb] Make SBType::FindDirectNestedType work with expression ASTs (PR #89183)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 18 01:13:33 PDT 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 3c721b90d363bf73b78467f6e86c879235bac1b2...d8e6fdff0df7b1a2e9242d747831966c5db03e44 lldb/test/API/python_api/type/TestTypeList.py
``````````

</details>

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

``````````diff
--- TestTypeList.py	2024-04-18 07:52:02.000000 +0000
+++ TestTypeList.py	2024-04-18 08:13:06.889902 +0000
@@ -167,11 +167,13 @@
         self.assertFalse(invalid_type)
 
         # Check that FindDirectNestedType works with types from module and
         # expression ASTs.
         self._find_nested_type_in_Task_pointer(frame0.FindVariable("pointer").GetType())
-        self._find_nested_type_in_Task_pointer(frame0.EvaluateExpression("pointer").GetType())
+        self._find_nested_type_in_Task_pointer(
+            frame0.EvaluateExpression("pointer").GetType()
+        )
 
         # We'll now get the child member 'id' from 'task_head'.
         id = task_head.GetChildMemberWithName("id")
         self.DebugSBValue(id)
         id_type = id.GetType()

``````````

</details>


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


More information about the lldb-commits mailing list