[Lldb-commits] [lldb] [lldb] Avoid (unlimited) GetNumChildren calls when printing values (PR #93946)
via lldb-commits
lldb-commits at lists.llvm.org
Fri May 31 03:26:29 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 a2bcb932f3130c3c18ceb06872da9002f6845c4b...957f0a85a0e0d2de9f34d00e28ba932e5affce86 lldb/test/API/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py lldb/test/API/functionalities/data-formatter/synthcapping/fooSynthProvider.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- fooSynthProvider.py 2024-05-31 10:22:49.000000 +0000
+++ fooSynthProvider.py 2024-05-31 10:26:02.044860 +0000
@@ -1,10 +1,9 @@
import lldb
class fooSynthProvider:
-
# For testing purposes, we'll keep track of the maximum value of
# max_num_children we've been called with.
MAX_NUM_CHILDREN_MAX = 0
@classmethod
``````````
</details>
https://github.com/llvm/llvm-project/pull/93946
More information about the lldb-commits
mailing list