[compiler-rt] [llvm] [ctx_profile] Pull `ContextNode` in a `.inc` file (PR #91669)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 15:12:08 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 fdede92d435068f31e7ea3a1dddb46d50343dd8c...9b3717458079135078ffcc9cb601b59eb7566891 compiler-rt/test/ctx_profile/lit.cfg.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- lit.cfg.py 2024-05-09 22:03:22.000000 +0000
+++ lit.cfg.py 2024-05-09 22:11:41.386872 +0000
@@ -7,10 +7,11 @@
import lit.formats
# Only run the tests on supported OSs.
if config.host_os not in ["Linux"]:
config.unsupported = True
+
def get_required_attr(config, attr_name):
attr_value = getattr(config, attr_name, None)
if attr_value == None:
lit_config.fatal(
``````````
</details>
https://github.com/llvm/llvm-project/pull/91669
More information about the llvm-commits
mailing list