[libc-commits] [libc] [libc] added newhdrgen python script and class file (PR #96671)

via libc-commits libc-commits at lists.llvm.org
Wed Jun 26 10:42:52 PDT 2024


================
@@ -0,0 +1,144 @@
+#!/usr/bin/env python
+#
+# ===- Generate headers for libc functions  -------------------*- python -*--==#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#
+# ==-------------------------------------------------------------------------==#
+
+
+import yaml
+import re
+import argparse
+
+from pathlib import Path
+from header import HeaderFile
+from class_implementation.classes.macro import Macro
----------------
RoseZhang03 wrote:

That patch should be ready to land today.

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


More information about the libc-commits mailing list