[libc-commits] [libc] d398c0c - [libc][cpio] Add cpio.h header. (#123798)
via libc-commits
libc-commits at lists.llvm.org
Fri Jan 24 12:32:56 PST 2025
Author: siya100
Date: 2025-01-24T12:32:51-08:00
New Revision: d398c0c97aa0bfaeed5647f75bc37c87b8142f79
URL: https://github.com/llvm/llvm-project/commit/d398c0c97aa0bfaeed5647f75bc37c87b8142f79
DIFF: https://github.com/llvm/llvm-project/commit/d398c0c97aa0bfaeed5647f75bc37c87b8142f79.diff
LOG: [libc][cpio] Add cpio.h header. (#123798)
[libc][docs] add cpio to documentation and include related functi…
These changes ensure that the cpio header is documented properly
with respect to the issue
(https://github.com/llvm/llvm-project/issues/122006 ).
**Changes:**
1. **cpio.yaml**: Created a new YAML file for cpio with functions
and related macros.
2. **CMakeLists.txt**: Added cpio to the documentation
directories.
3. **index.rst**: Included `cpio` in the documentation index.
---------
Co-authored-by: siya <siya at Siya.com>
Added:
libc/utils/docgen/cpio.yaml
Modified:
libc/docs/CMakeLists.txt
libc/docs/headers/index.rst
Removed:
################################################################################
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index bb8e3e96e47cac..fc5e505c3be691 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -37,6 +37,7 @@ if (SPHINX_FOUND)
aio
arpa/inet
assert
+ cpio
ctype
errno
fenv
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index d08552d2232522..bd48dd5989bcd0 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -8,6 +8,7 @@ Implementation Status
arpa/inet
assert
complex
+ cpio
ctype
errno
fenv
diff --git a/libc/utils/docgen/cpio.yaml b/libc/utils/docgen/cpio.yaml
new file mode 100644
index 00000000000000..b31c03778fba51
--- /dev/null
+++ b/libc/utils/docgen/cpio.yaml
@@ -0,0 +1,44 @@
+macros:
+ C_IRUSR:
+ in-latest-posix: ''
+ C_IWUSR:
+ in-latest-posix: ''
+ C_IXUSR:
+ in-latest-posix: ''
+ C_IRGRP:
+ in-latest-posix: ''
+ C_IWGRP:
+ in-latest-posix: ''
+ C_IXGRP:
+ in-latest-posix: ''
+ C_IROTH:
+ in-latest-posix: ''
+ C_IWOTH:
+ in-latest-posix: ''
+ C_IXOTH:
+ in-latest-posix: ''
+ C_ISUID:
+ in-latest-posix: ''
+ C_ISGID:
+ in-latest-posix: ''
+ C_ISVTX:
+ in-latest-posix: ''
+ C_ISDIR:
+ in-latest-posix: ''
+ C_ISFIFO:
+ in-latest-posix: ''
+ C_ISREG:
+ in-latest-posix: ''
+ C_ISBLK:
+ in-latest-posix: ''
+ C_ISCHR:
+ in-latest-posix: ''
+ C_ISCTG:
+ in-latest-posix: ''
+ C_ISLNK:
+ in-latest-posix: ''
+ C_ISSOCK:
+ in-latest-posix: ''
+ MAGIC:
+ in-latest-posix: ''
+
More information about the libc-commits
mailing list