[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 10:25:32 PDT 2024


================
@@ -103,16 +107,63 @@ def fill_public_api(header_str, h_def_content):
     return h_def_content.replace("%%public_api()", header_str, 1)
 
 
-def main(yaml_file, h_def_file, output_dir):
+def add_function_to_yaml(yaml_file, function_details):
----------------
michaelrj-google wrote:

why is `function_details` not a function object?

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


More information about the libc-commits mailing list