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

via libc-commits libc-commits at lists.llvm.org
Tue Jun 25 13:22:15 PDT 2024


================
@@ -0,0 +1,59 @@
+# class_implementation/classes/header.py
+class HeaderFile:
+    def __init__(self, name):
+        self.name = name
+        self.macros = []
+        self.types = []
+        self.enumerations = []
+        self.objects = []
----------------
RoseZhang03 wrote:

objects are referring to the Object specs found in stdc.td and posix.td

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


More information about the libc-commits mailing list