[libc-commits] [libc] 76db420 - [libc][docs] Add nl_types.h POSIX header documentation (#122006) (#194373)
via libc-commits
libc-commits at lists.llvm.org
Thu Apr 30 08:41:50 PDT 2026
Author: Petter Berntsson
Date: 2026-04-30T16:41:45+01:00
New Revision: 76db420e2cab77a7d1a74d688503328eb55b2bed
URL: https://github.com/llvm/llvm-project/commit/76db420e2cab77a7d1a74d688503328eb55b2bed
DIFF: https://github.com/llvm/llvm-project/commit/76db420e2cab77a7d1a74d688503328eb55b2bed.diff
LOG: [libc][docs] Add nl_types.h POSIX header documentation (#122006) (#194373)
Add nl_types.h implementation-status docs to llvm-libc.
Depends on PR #194367. That change fixes docgen lookup for underscored
headers, without it, the macros of nl_types.h implementation status is
not reported accurately.
Added:
libc/utils/docgen/nl_types.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 a709ee175a246..9162976d0744d 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -54,6 +54,7 @@ if (SPHINX_FOUND)
glob
inttypes
locale
+ nl_types
net/if
netinet/in
poll
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 8ae0843984255..e7a4f6b701de2 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -23,6 +23,7 @@ Implementation Status
math/index.rst
net/if
netinet/in
+ nl_types
poll
search
setjmp
diff --git a/libc/utils/docgen/nl_types.yaml b/libc/utils/docgen/nl_types.yaml
new file mode 100644
index 0000000000000..97fbcddfc9948
--- /dev/null
+++ b/libc/utils/docgen/nl_types.yaml
@@ -0,0 +1,13 @@
+functions:
+ catclose:
+ in-latest-posix: ""
+ catgets:
+ in-latest-posix: ""
+ catopen:
+ in-latest-posix: ""
+
+macros:
+ NL_CAT_LOCALE:
+ in-latest-posix: ""
+ NL_SETD:
+ in-latest-posix: ""
More information about the libc-commits
mailing list