[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:56 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Prashanth (StarOne01)

<details>
<summary>Changes</summary>

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

cc @<!-- -->nickdesaulniers

---
Full diff: https://github.com/llvm/llvm-project/pull/126923.diff


3 Files Affected:

- (modified) libc/docs/CMakeLists.txt (+1) 
- (modified) libc/docs/headers/index.rst (+1) 
- (added) libc/utils/docgen/glob.yaml (+27) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list