[libc-commits] [libc] [libc][docs] introduce docgen (PR #87682)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Apr 4 13:49:35 PDT 2024


================
@@ -0,0 +1,107 @@
+ctype.h:
+  functions:
+    isalnum:
+      returns: int
+      params:
+        - int
+    isalpha:
+      returns: int
+      params:
+        - int
+    isblank:
+      returns: int
+      params:
+        - int
+  # TODO: fill me out!
+fenv.h:
----------------
nickdesaulniers wrote:

Rather than have one long long running file, perhaps it would be better to rely on a convention where we have individual yaml files, one per header such as ctype.h.yml and fenv.h.yml (or ctype.yml fenv.yml). Then the header name is implied by the file name, and we can keep the individual files shorter and perhaps better organized?

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


More information about the libc-commits mailing list