[Lldb-commits] [lldb] [lldb] Treat synthetic variables as locals (PR #204431)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 24 08:57:09 PDT 2026
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 origin/main...HEAD lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- test_frame_providers.py 2026-06-24 15:52:51.000000 +0000
+++ test_frame_providers.py 2026-06-24 15:56:23.880606 +0000
@@ -552,15 +552,15 @@
return False
def get_register_context(self):
"""No register context."""
return None
-
+
def get_value_type_for_variable(self, var):
if var.GetName() == "_handler_one":
return lldb.eValueTypeVariableLocal
- return None # Inherit the value type for others.
+ return None # Inherit the value type for others.
def get_variables(self):
""""""
out = lldb.SBValueList()
out.Append(self.variable)
``````````
</details>
https://github.com/llvm/llvm-project/pull/204431
More information about the lldb-commits
mailing list