[libc-commits] [libc] [libc] implemented add_function to yaml hdrgen (PR #97079)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Jun 28 11:32:55 PDT 2024


================
@@ -143,6 +196,19 @@ def main(yaml_file, h_def_file, output_dir):
         default=".",
         help="Directory to output the generated header file",
     )
+    parser.add_argument(
+        "--add_function",
+        nargs=6,
+        metavar=(
+            "NAME",
----------------
michaelrj-google wrote:

this should probably be in the same order that you'd find them in a function definition (i.e. `RETURN_TYPE NAME (ARGUMENTS)...`)

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


More information about the libc-commits mailing list