[compiler-rt] [CompilerRT] Refactor build_invocation function for clarity and conci… (PR #80756)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 14:52:55 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 a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de...be385f2b4634eb9371767252b16b0fb13c05039e compiler-rt/test/asan/lit.cfg.py
``````````

</details>

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

``````````diff
--- lit.cfg.py	2024-02-05 22:50:10.000000 +0000
+++ lit.cfg.py	2024-02-05 22:52:47.966088 +0000
@@ -106,11 +106,10 @@
 
     invocation = [config.clang] + lto_flags + compile_flags
     return " ".join(invocation) + " "
 
 
-
 config.substitutions.append(("%clang ", build_invocation(target_cflags)))
 config.substitutions.append(("%clangxx ", build_invocation(target_cxxflags)))
 config.substitutions.append(("%clang_asan ", build_invocation(clang_asan_cflags)))
 config.substitutions.append(("%clangxx_asan ", build_invocation(clang_asan_cxxflags)))
 config.substitutions.append(

``````````

</details>


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


More information about the llvm-commits mailing list