[Lldb-commits] [lldb] [lldb] Fix source display for artificial locations (PR #115876)

via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 12 06:57:27 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 2a3c08f620fc89823ebf1d2af4ea0beb97671db2...7f9c959bf0ffffee984b3c2e93f11a96b57162b3 lldb/test/API/source-manager/TestSourceManager.py
``````````

</details>

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

``````````diff
--- TestSourceManager.py	2024-11-12 14:51:28.000000 +0000
+++ TestSourceManager.py	2024-11-12 14:56:35.660866 +0000
@@ -313,11 +313,11 @@
             ],
         )
 
     def test_artificial_source_location(self):
         src_file = "artificial_location.cpp"
-        d = {"C_SOURCES":"", "CXX_SOURCES": src_file}
+        d = {"C_SOURCES": "", "CXX_SOURCES": src_file}
         self.build(dictionary=d)
 
         target = lldbutil.run_to_breakpoint_make_target(self)
 
         # Find the instruction with line=0 and put a breakpoint there.

``````````

</details>


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


More information about the lldb-commits mailing list