[llvm] [Utils][update_mc_test_checks] Generate check lines in alphabetical order. (PR #164424)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 06:49:18 PDT 2025


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 origin/main...HEAD llvm/utils/update_mc_test_checks.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
--- update_mc_test_checks.py	2025-10-21 13:00:51.000000 +0000
+++ update_mc_test_checks.py	2025-10-21 13:48:45.112596 +0000
@@ -319,11 +319,11 @@
                 check = getErrCheckLine(prefix, o, mc_mode, line_offset)
             else:
                 check = getStdCheckLine(prefix, o, mc_mode)
 
             if check:
-              check_lines.append(check.strip())
+                check_lines.append(check.strip())
 
         generated_prefixes[input_line] = "\n".join(check_lines)
 
     # write output
     for input_info in ti.iterlines(output_lines):

``````````

</details>


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


More information about the llvm-commits mailing list