[Lldb-commits] [lldb] [lldb] Provide a better error message for missing symbols (PR #89433)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 19 11:27:47 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 4841d70a4b7d7cd8c492c16a9da339ec75bca135...d57f2adff84dc5148c417135aa4733e05476876c lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
``````````

</details>

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

``````````diff
--- TestCppConstructors.py	2024-04-19 18:22:28.000000 +0000
+++ TestCppConstructors.py	2024-04-19 18:27:21.930974 +0000
@@ -45,12 +45,11 @@
             substrs=["Couldn't look up symbols:"],
         )
         self.expect(
             "expr ClassWithDeletedDefaultCtor().value",
             error=True,
-            substrs=["Couldn't look up symbols:",
-                     "function missing"],
+            substrs=["Couldn't look up symbols:", "function missing"],
         )
 
     @skipIfWindows  # Can't find operator new.
     @skipIfLinux  # Fails on some Linux systems with SIGABRT.
     def test_constructors_new(self):

``````````

</details>


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


More information about the lldb-commits mailing list