[libc-commits] [libc] [libc] Revamp hdrgen command line and build integration (PR #121522)

via libc-commits libc-commits at lists.llvm.org
Thu Jan 2 13:17:23 PST 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 4922350407127607a9e78fc6d19f3f6278b1e46b...8c85f4159f3ff81f9dcfaf5c6b4d6eaec9199364 libc/utils/hdrgen/main.py libc/utils/hdrgen/header.py libc/utils/hdrgen/tests/test_integration.py libc/utils/hdrgen/yaml_to_classes.py
``````````

</details>

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

``````````diff
--- yaml_to_classes.py	2025-01-02 20:54:15.000000 +0000
+++ yaml_to_classes.py	2025-01-02 21:16:49.230573 +0000
@@ -239,11 +239,14 @@
             "ATTRIBUTES",
         ),
         help="Add a function to the YAML file",
     )
     parser.add_argument(
-        "--entry-point", action="append", help="Entry point to include", dest="entry_points"
+        "--entry-point",
+        action="append",
+        help="Entry point to include",
+        dest="entry_points",
     )
     parser.add_argument(
         "--export-decls",
         action="store_true",
         help="Flag to use GpuHeader for exporting declarations",

``````````

</details>


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


More information about the libc-commits mailing list