[Lldb-commits] [lldb] [lldb] Support custom LLVM formatting for variables (PR #81196)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 21 11:04:33 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 0572dabb71147fdc156d90a3ecd036d1652c2006...16b8dfab53008c657c82b0ae35510c7050481bdb lldb/test/API/functionalities/data-formatter/custom-printf-summary/TestCustomPrintfSummary.py
``````````

</details>

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

``````````diff
--- TestCustomPrintfSummary.py	2024-03-21 17:59:12.000000 +0000
+++ TestCustomPrintfSummary.py	2024-03-21 18:04:23.541734 +0000
@@ -2,11 +2,10 @@
 from lldbsuite.test.lldbtest import *
 import lldbsuite.test.lldbutil as lldbutil
 
 
 class TestCase(TestBase):
-
     def test_raw_bytes(self):
         self.build()
         lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.c"))
         self.runCmd("type summary add -s '${var.ubyte:x-2}${var.sbyte:x-2}!' Bytes")
         self.expect("v bytes", substrs=[" = 3001!"])

``````````

</details>


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


More information about the lldb-commits mailing list