[libc-commits] [libc] [libc][docs] Add glob implementation status doc and include in CMakeLists (PR #126923)

via libc-commits libc-commits at lists.llvm.org
Wed Feb 12 07:01:18 PST 2025


https://github.com/StarOne01 created https://github.com/llvm/llvm-project/pull/126923

These changes tracks `glob.h` for the implementation status of functions and macros, with respect to the issue ( #122006 ) .

cc @nickdesaulniers

>From 643203750cdba0666ec2ae03ca591c5dce898e74 Mon Sep 17 00:00:00 2001
From: Prashanth <TheStarOne01 at proton.me>
Date: Wed, 12 Feb 2025 17:08:06 +0530
Subject: [PATCH] [libc][docs] Add glob support to documentation and include in
 CMakeLists

---
 libc/docs/CMakeLists.txt    |  1 +
 libc/docs/headers/index.rst |  1 +
 libc/utils/docgen/glob.yaml | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 libc/utils/docgen/glob.yaml

diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 4ef0e920de683..fb72af02339e1 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -43,6 +43,7 @@ if (SPHINX_FOUND)
       errno
       fenv
       float
+      glob
       inttypes
       locale
       net/if
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 3dc30ef90a8e4..b3c4492fa13ad 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -14,6 +14,7 @@ Implementation Status
    errno
    fenv
    float
+   glob
    inttypes
    locale
    math/index.rst
diff --git a/libc/utils/docgen/glob.yaml b/libc/utils/docgen/glob.yaml
new file mode 100644
index 0000000000000..ad5df137a1989
--- /dev/null
+++ b/libc/utils/docgen/glob.yaml
@@ -0,0 +1,27 @@
+macros:
+  GLOB_APPEND:
+    in-latest-posix: ''
+  GLOB_DOOFFS:
+    in-latest-posix: ''
+  GLOB_ERR:
+    in-latest-posix: ''
+  GLOB_MARK:
+    in-latest-posix: ''
+  GLOB_NOCHECK:
+    in-latest-posix: ''
+  GLOB_NOESCAPE:
+    in-latest-posix: ''
+  GLOB_NOSORT:
+    in-latest-posix: ''
+  GLOB_ABORTED:
+    in-latest-posix: ''
+  GLOB_NOMATCH:
+    in-latest-posix: ''
+  GLOB_NOSPACE:
+    in-latest-posix: ''
+
+functions:
+  glob:
+    in-latest-posix: ''
+  globfree:
+    in-latest-posix: ''
\ No newline at end of file



More information about the libc-commits mailing list