[flang-commits] [clang] [flang] [flang][Driver] Account for the default unwind library in linker test (PR #212419)

via flang-commits flang-commits at lists.llvm.org
Mon Aug 10 07:52:38 PDT 2026


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 flang/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-08-08 04:36:19.000000 +0000
+++ lit.cfg.py	2026-08-10 14:51:51.527754 +0000
@@ -131,13 +131,11 @@
 # Check for DEFAULT_SYSROOT, because when it is set -isysroot has no effect.
 if config.default_sysroot:
     config.available_features.add("default_sysroot")
 
 if config.clang_default_unwindlib:
-    config.available_features.add(
-        f"default-unwindlib={config.clang_default_unwindlib}"
-    )
+    config.available_features.add(f"default-unwindlib={config.clang_default_unwindlib}")
 
 host_triple = config.host_triple.split("-")
 config.available_features.add(f"{host_triple[0]}-host")
 
 if not config.flang_exe:

``````````

</details>


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


More information about the flang-commits mailing list