[Lldb-commits] [lldb] [lldb] Fix dynamic type resolution for types parsed from declarations (PR #137974)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 30 07:56:00 PDT 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 HEAD~1...HEAD lldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py
``````````

</details>

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

``````````diff
--- TestDynamicValue.py	2025-04-30 14:48:42.000000 +0000
+++ TestDynamicValue.py	2025-04-30 14:55:30.927601 +0000
@@ -274,7 +274,7 @@
         a definition of A from somewhere else."""
         self.build()
         lldbutil.run_to_name_breakpoint(self, "take_A")
         self.expect(
             "frame var -d run-target --ptr-depth=1 --show-types a",
-            substrs = ["(B *) a", "m_b_value = 10"],
-        )
+            substrs=["(B *) a", "m_b_value = 10"],
+        )

``````````

</details>


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


More information about the lldb-commits mailing list