[Lldb-commits] [lldb] [lldb] Fix a regression in Status::GetErrorType() (PR #117095)

via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 20 17:51:28 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 14667119bcc78fe7d8a2d8f6c31407f2b6a6f8a5...27308496b00d90e798d4c73940602d3e3cf1684b lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
``````````

</details>

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

``````````diff
--- TestExprDiagnostics.py	2024-11-21 01:46:50.000000 +0000
+++ TestExprDiagnostics.py	2024-11-21 01:51:00.446586 +0000
@@ -192,11 +192,11 @@
             self, "// Break here", self.main_source_spec
         )
         frame = thread.GetFrameAtIndex(0)
         value = frame.EvaluateExpression('#error("I am error.")')
         error = value.GetError()
-        self.assertEqual(error.GetType(), lldb.eErrorTypeExpression);
+        self.assertEqual(error.GetType(), lldb.eErrorTypeExpression)
 
     def test_command_expr_sbdata(self):
         """Test the structured diagnostics data"""
         self.build()
 

``````````

</details>


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


More information about the lldb-commits mailing list