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 clang/test/lit.cfg.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
--- lit.cfg.py  2026-05-22 18:36:31.000000 +0000
+++ lit.cfg.py  2026-05-22 18:47:04.045538 +0000
@@ -229,19 +229,20 @@
         if clang_repl_cmd.stdout.find(b"success") != -1:
             return True
 
     return False
 
+
 skip_clang_repl_checks = lit.util.pythonize_bool(
     lit_config.params.get(
         "clang_skip_clang_repl_checks",
         os.environ.get("CLANG_LIT_SKIP_CLANG_REPL_CHECKS", "0"),
     )
 )
 
-if not skip_clang_repl_checks and have_host_jit_feature_support('jit'):
-    config.available_features.add('host-supports-jit')
+if not skip_clang_repl_checks and have_host_jit_feature_support("jit"):
+    config.available_features.add("host-supports-jit")
 
     if have_host_clang_repl_cuda():
         config.available_features.add('host-supports-cuda')
     hosttriple = run_clang_repl("--host-jit-triple")
     config.substitutions.append(("%host-jit-triple", hosttriple.strip()))

``````````

</details>


https://github.com/llvm/llvm-project/pull/199255
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to