[libc-commits] [libc] [libc] Use response files for hdrgen entry points (PR #183267)

via libc-commits libc-commits at lists.llvm.org
Wed Feb 25 02:07:35 PST 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 libc/utils/hdrgen/hdrgen/main.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
--- main.py	2026-02-25 10:01:49.000000 +0000
+++ main.py	2026-02-25 10:06:59.528420 +0000
@@ -16,12 +16,13 @@
 from hdrgen.header import HeaderFile
 from hdrgen.yaml_to_classes import load_yaml_file, fill_public_api
 
 
 def main():
-    parser = argparse.ArgumentParser(description="Generate header files from YAML",
-                                     fromfile_prefix_chars="@")
+    parser = argparse.ArgumentParser(
+        description="Generate header files from YAML", fromfile_prefix_chars="@"
+    )
     parser.add_argument(
         "yaml_file",
         help="Path to the YAML file containing header specification",
         metavar="FILE",
         type=Path,

``````````

</details>


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


More information about the libc-commits mailing list