[clang] [llvm] [DLCov 4/5] Track coverage and origins through IRBuilder (PR #108214)

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 06:00:05 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 5f05d5ec8f9bb15c0ac29fce843a2c73165ac414...33b9d83aeea01fc62a67b71f49a63dcaf4e49509 llvm/utils/llvm-original-di-preservation.py
``````````

</details>

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

``````````diff
--- llvm-original-di-preservation.py	2024-09-05 10:03:53.000000 +0000
+++ llvm-original-di-preservation.py	2024-09-11 12:59:31.031203 +0000
@@ -112,11 +112,13 @@
                 row.append(llvm_pass)
                 row.append(x.instr)
                 row.append(x.fn_name)
                 row.append(x.bb_name)
                 row.append(x.action)
-                row.append(f"<details><summary>View Origin StackTrace</summary><pre>{x.origin}</pre></details>")
+                row.append(
+                    f"<details><summary>View Origin StackTrace</summary><pre>{x.origin}</pre></details>"
+                )
                 row.append("    </tr>\n")
             # Dump the bugs info into the table.
             for column in row:
                 # The same file-pass pair can have multiple bugs.
                 if column == "    <tr>\n" or column == "    </tr>\n":

``````````

</details>


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


More information about the cfe-commits mailing list