[Lldb-commits] [lldb] [WIP][lldb][test] Add a new __compressed_pair layout to libcxx simulator tests (PR #99012)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 16 03:08:41 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 27d961dab3caa89a78e68af094ddc8365d97dc91...242f78b67d6d6ef125b72c9c797fb2686cce280d lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py 2024-07-16 07:29:55.000000 +0000
+++ unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py 2024-07-16 10:08:14.898197 +0000
@@ -23,10 +23,11 @@
self.expect("frame variable var_up", substrs=["deleter ="], matching=False)
self.expect(
"frame variable var_with_deleter_up", substrs=["pointer =", "deleter ="]
)
+
for r in range(3):
name = "test_r%d" % r
defines = ["COMPRESSED_PAIR_REV=%d" % r]
f = functools.partialmethod(
LibcxxUniquePtrDataFormatterSimulatorTestCase._run_test, defines
``````````
</details>
https://github.com/llvm/llvm-project/pull/99012
More information about the lldb-commits
mailing list