[libc-commits] [libc] [libc] Generate docs for `setjmp.h` (PR #89542)
via libc-commits
libc-commits at lists.llvm.org
Sun Apr 21 05:57:44 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Rajveer Singh Bharadwaj (Rajveer100)
<details>
<summary>Changes</summary>
Resolves #<!-- -->88065
Added macros and functions.
---
Full diff: https://github.com/llvm/llvm-project/pull/89542.diff
2 Files Affected:
- (added) libc/docs/setjmp.rst (+16)
- (added) libc/utils/docgen/setjmp.json (+15)
``````````diff
diff --git a/libc/docs/setjmp.rst b/libc/docs/setjmp.rst
new file mode 100644
index 00000000000000..d9188dfe1d5e47
--- /dev/null
+++ b/libc/docs/setjmp.rst
@@ -0,0 +1,16 @@
+.. include:: check.rst
+
+setjmp.h Functions
+==================
+
+.. list-table::
+ :widths: auto
+ :align: center
+ :header-rows: 1
+
+ * - Function
+ - Implemented
+ - Standard
+ * - longjmp
+ - |check|
+ - 7.13.2.1
diff --git a/libc/utils/docgen/setjmp.json b/libc/utils/docgen/setjmp.json
new file mode 100644
index 00000000000000..38d4af568926a2
--- /dev/null
+++ b/libc/utils/docgen/setjmp.json
@@ -0,0 +1,15 @@
+{
+ "macros": {
+ "__STDC_VERSION_SETJMP_H__": {
+ "defined": "7.13.2"
+ },
+ "setjmp": {
+ "defined": "7.13.1.1"
+ }
+ },
+ "functions": {
+ "longjmp": {
+ "defined": "7.13.2.1"
+ }
+ }
+}
``````````
</details>
https://github.com/llvm/llvm-project/pull/89542
More information about the libc-commits
mailing list