[Lldb-commits] [lldb] [lldb] Expose structured command diagnostics via the SBAPI. (PR #112109)

via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 12 13:41:34 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 c2750807ba2a419425ee90dadda09ad5121517fe...cf7ea7aa4d458ad82c39afb2b0879ec32a88a2db lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
``````````

</details>

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

``````````diff
--- TestExprDiagnostics.py	2024-10-12 20:37:19.000000 +0000
+++ TestExprDiagnostics.py	2024-10-12 20:41:04.212598 +0000
@@ -256,6 +256,5 @@
         self.assertIn("user expression", str(sloc.GetValueForKey("file")))
         self.assertFalse(sloc.GetValueForKey("hidden").GetBooleanValue())
         self.assertTrue(sloc.GetValueForKey("in_user_input").GetBooleanValue())
         diag = details.GetItemAtIndex(1)
         self.assertIn("undeclared identifier 'b'", str(diag.GetValueForKey("message")))
-

``````````

</details>


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


More information about the lldb-commits mailing list