[Lldb-commits] [lldb] [lldb] rename fooSynthProvider module (PR #118094)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 29 05:50:55 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 fedb9fdb98314ff0ddff065dbd6ef8b2b7e6ec96...11d1f52ea2bc578c9bd15646d653f5e2a1626750 lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py lldb/test/API/functionalities/data-formatter/synthcapping/SynthcappingSynthProvider.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestSyntheticCapping.py 2024-11-29 13:43:46.000000 +0000
+++ TestSyntheticCapping.py 2024-11-29 13:50:31.208235 +0000
@@ -69,11 +69,12 @@
],
)
# num_children() should be called with at most max_num_children=257
# (target.max-children-count + 1)
self.expect(
- "script SynthcappingSynthProvider.reset_max_num_children_max()", substrs=["257"]
+ "script SynthcappingSynthProvider.reset_max_num_children_max()",
+ substrs=["257"],
)
# check that capping works
self.runCmd("settings set target.max-children-count 2", check=False)
@@ -84,16 +85,18 @@
"fake_a = %d" % fake_a_val,
"...",
],
)
self.expect(
- "script SynthcappingSynthProvider.reset_max_num_children_max()", substrs=["3"]
+ "script SynthcappingSynthProvider.reset_max_num_children_max()",
+ substrs=["3"],
)
self.expect("frame variable f00_1", matching=False, substrs=["r = 34"])
self.runCmd("settings set target.max-children-count 256", check=False)
self.expect("frame variable f00_1", matching=True, substrs=["r = 34"])
self.expect(
- "script SynthcappingSynthProvider.reset_max_num_children_max()", substrs=["257"]
+ "script SynthcappingSynthProvider.reset_max_num_children_max()",
+ substrs=["257"],
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/118094
More information about the lldb-commits
mailing list