[Lldb-commits] [lldb] [lldb] Inline expression evaluator error visualization (PR #106470)

via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 17:19:53 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 af3ee626a396aa9ac9480131f48f6ebe2f6664c1...2e7f0469fb596dfd53142e1479ba3828ca00f48f lldb/test/API/commands/expression/persistent_variables/TestPersistentVariables.py lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py lldb/test/API/lang/cpp/template-function/TestTemplateFunctions.py lldb/test/API/lang/mixed/TestMixedLanguages.py lldb/test/API/lang/objc/modules-compile-error/TestModulesCompileError.py
``````````

</details>

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

``````````diff
--- lang/cpp/template-function/TestTemplateFunctions.py	2024-08-29 00:16:15.000000 +0000
+++ lang/cpp/template-function/TestTemplateFunctions.py	2024-08-29 00:19:22.165276 +0000
@@ -19,11 +19,12 @@
         else:
             self.expect(
                 "expr b1 <=> b2",
                 error=True,
                 substrs=[
-                    "warning:", "'<=>' is a single token in C++20; add a space to avoid a change in behavior"
+                    "warning:",
+                    "'<=>' is a single token in C++20; add a space to avoid a change in behavior",
                 ],
             )
 
             self.expect_expr("foo(42)", result_type="int", result_value="42")
 

``````````

</details>


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


More information about the lldb-commits mailing list