[libc-commits] [libc] [libc][newhdrgen] sorted all yaml function names (PR #102541)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 14:45:27 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (aaryanshukla)

<details>
<summary>Changes</summary>



---

Patch is 251.50 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/102541.diff


48 Files Affected:

- (modified) libc/newhdrgen/yaml/arpa/inet.yaml (+24-24) 
- (modified) libc/newhdrgen/yaml/assert.yaml (+9-9) 
- (modified) libc/newhdrgen/yaml/ctype.yaml (+97-97) 
- (modified) libc/newhdrgen/yaml/dirent.yaml (+40-40) 
- (modified) libc/newhdrgen/yaml/dlfcn.yaml (+33-33) 
- (modified) libc/newhdrgen/yaml/errno.yaml (+3-3) 
- (modified) libc/newhdrgen/yaml/fcntl.yaml (+34-34) 
- (modified) libc/newhdrgen/yaml/features.yaml (+1-1) 
- (modified) libc/newhdrgen/yaml/fenv.yaml (+101-101) 
- (modified) libc/newhdrgen/yaml/float.yaml (+1-1) 
- (modified) libc/newhdrgen/yaml/gpu/rpc.yaml (+17-17) 
- (modified) libc/newhdrgen/yaml/inttypes.yaml (+30-30) 
- (modified) libc/newhdrgen/yaml/limits.yaml (+1-1) 
- (modified) libc/newhdrgen/yaml/math.yaml (+2392-2392) 
- (modified) libc/newhdrgen/yaml/pthread.yaml (+428-428) 
- (modified) libc/newhdrgen/yaml/sched.yaml (+82-82) 
- (modified) libc/newhdrgen/yaml/search.yaml (+53-53) 
- (modified) libc/newhdrgen/yaml/setjmp.yaml (+14-14) 
- (modified) libc/newhdrgen/yaml/signal.yaml (+76-76) 
- (modified) libc/newhdrgen/yaml/spawn.yaml (+52-52) 
- (modified) libc/newhdrgen/yaml/stdbit.yaml (+390-390) 
- (modified) libc/newhdrgen/yaml/stdckdint.yaml (+1-1) 
- (modified) libc/newhdrgen/yaml/stdfix.yaml (+216-216) 
- (modified) libc/newhdrgen/yaml/stdint.yaml (+1-1) 
- (modified) libc/newhdrgen/yaml/stdio.yaml (+376-376) 
- (modified) libc/newhdrgen/yaml/stdlib.yaml (+268-268) 
- (modified) libc/newhdrgen/yaml/string.yaml (+296-296) 
- (modified) libc/newhdrgen/yaml/strings.yaml (+52-52) 
- (modified) libc/newhdrgen/yaml/sys/auxv.yaml (+6-6) 
- (modified) libc/newhdrgen/yaml/sys/epoll.yaml (+54-54) 
- (modified) libc/newhdrgen/yaml/sys/mman.yaml (+108-108) 
- (modified) libc/newhdrgen/yaml/sys/prctl.yaml (+10-10) 
- (modified) libc/newhdrgen/yaml/sys/random.yaml (+10-10) 
- (modified) libc/newhdrgen/yaml/sys/resource.yaml (+14-14) 
- (modified) libc/newhdrgen/yaml/sys/select.yaml (+16-16) 
- (modified) libc/newhdrgen/yaml/sys/sendfile.yaml (+12-12) 
- (modified) libc/newhdrgen/yaml/sys/socket.yaml (+20-20) 
- (modified) libc/newhdrgen/yaml/sys/stat.yaml (+71-71) 
- (modified) libc/newhdrgen/yaml/sys/statvfs.yaml (+17-17) 
- (modified) libc/newhdrgen/yaml/sys/types.yaml (+24-24) 
- (modified) libc/newhdrgen/yaml/sys/utsname.yaml (+7-7) 
- (modified) libc/newhdrgen/yaml/sys/wait.yaml (+27-27) 
- (modified) libc/newhdrgen/yaml/termios.yaml (+79-79) 
- (modified) libc/newhdrgen/yaml/threads.yaml (+155-155) 
- (modified) libc/newhdrgen/yaml/time.yaml (+78-78) 
- (modified) libc/newhdrgen/yaml/uchar.yaml (+5-5) 
- (modified) libc/newhdrgen/yaml/unistd.yaml (+309-309) 
- (modified) libc/newhdrgen/yaml/wchar.yaml (+10-10) 


``````````diff
diff --git a/libc/newhdrgen/yaml/arpa/inet.yaml b/libc/newhdrgen/yaml/arpa/inet.yaml
index cb366e0f5d6941..c825393b87a22b 100644
--- a/libc/newhdrgen/yaml/arpa/inet.yaml
+++ b/libc/newhdrgen/yaml/arpa/inet.yaml
@@ -4,27 +4,27 @@ types: []
 enums: []
 objects: []
 functions:
-  - name: htonl
-    standards:
-      - POSIX
-    return_type: uint32_t
-    arguments:
-      - type: uint32_t
-  - name: htons
-    standards:
-      - POSIX
-    return_type: uint16_t
-    arguments:
-      - type: uint16_t
-  - name: ntohl
-    standards:
-      - POSIX
-    return_type: uint32_t
-    arguments:
-      - type: uint32_t
-  - name: ntohs
-    standards:
-      - POSIX
-    return_type: uint16_t
-    arguments:
-      - type: uint16_t
+- name: htonl
+  standards:
+  - POSIX
+  return_type: uint32_t
+  arguments:
+  - type: uint32_t
+- name: htons
+  standards:
+  - POSIX
+  return_type: uint16_t
+  arguments:
+  - type: uint16_t
+- name: ntohl
+  standards:
+  - POSIX
+  return_type: uint32_t
+  arguments:
+  - type: uint32_t
+- name: ntohs
+  standards:
+  - POSIX
+  return_type: uint16_t
+  arguments:
+  - type: uint16_t
diff --git a/libc/newhdrgen/yaml/assert.yaml b/libc/newhdrgen/yaml/assert.yaml
index f740554488ed5e..358c513da7f461 100644
--- a/libc/newhdrgen/yaml/assert.yaml
+++ b/libc/newhdrgen/yaml/assert.yaml
@@ -4,12 +4,12 @@ types: []
 enums: []
 objects: []
 functions:
-  - name: __assert_fail
-    standards:
-      - llvm_libc_ext
-    return_type: _Noreturn void
-    arguments:
-      - type: const char *
-      - type: const char *
-      - type: unsigned
-      - type: const char *
+- name: __assert_fail
+  standards:
+  - llvm_libc_ext
+  return_type: _Noreturn void
+  arguments:
+  - type: const char *
+  - type: const char *
+  - type: unsigned
+  - type: const char *
diff --git a/libc/newhdrgen/yaml/ctype.yaml b/libc/newhdrgen/yaml/ctype.yaml
index e5b4d11422d98d..1207e0d3df0dc3 100644
--- a/libc/newhdrgen/yaml/ctype.yaml
+++ b/libc/newhdrgen/yaml/ctype.yaml
@@ -4,100 +4,100 @@ types: []
 enums: []
 objects: []
 functions:
-  - name: isalnum
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isalpha
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isblank
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: iscntrl
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isdigit
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isgraph
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: islower
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isprint
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: ispunct
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isspace
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isupper
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: isxdigit
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: tolower
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: toupper
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-    functions:
-  - name: isascii
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: int
-  - name: toascii
-    standards:
-      - GNUExtensions
-    return_type: int
-    arguments:
-      - type: int
+- name: isalnum
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isalpha
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isascii
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: int
+- name: isblank
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: iscntrl
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isdigit
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isgraph
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: islower
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isprint
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: ispunct
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isspace
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isupper
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: isxdigit
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: toascii
+  standards:
+  - GNUExtensions
+  return_type: int
+  arguments:
+  - type: int
+- name: tolower
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: toupper
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+  functions: null
diff --git a/libc/newhdrgen/yaml/dirent.yaml b/libc/newhdrgen/yaml/dirent.yaml
index cdccf6a0c7f293..dd29a44dd051f6 100644
--- a/libc/newhdrgen/yaml/dirent.yaml
+++ b/libc/newhdrgen/yaml/dirent.yaml
@@ -1,46 +1,46 @@
 header: dirent.h
 macros: []
 types:
-  - type_name: struct_dirent
-  - type_name: DIR
-  - type_name: ino_t
+- type_name: struct_dirent
+- type_name: DIR
+- type_name: ino_t
 enums: []
 objects: []
 functions:
-  - name: alphasort
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: const struct dirent **
-      - type: const struct dirent **
-  - name: closedir
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: DIR *
-  - name: dirfd
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: DIR *
-  - name: fdopendir
-    standards:
-      - POSIX
-    return_type: DIR *
-    arguments:
-      - type: int
-  - name: opendir
-    standards:
-      - POSIX
-    return_type: DIR *
-    arguments:
-      - type: const char *
-  - name: readdir
-    standards:
-      - POSIX
-    return_type: struct dirent *
-    arguments:
-      - type: DIR *
+- name: alphasort
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: const struct dirent **
+  - type: const struct dirent **
+- name: closedir
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: DIR *
+- name: dirfd
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: DIR *
+- name: fdopendir
+  standards:
+  - POSIX
+  return_type: DIR *
+  arguments:
+  - type: int
+- name: opendir
+  standards:
+  - POSIX
+  return_type: DIR *
+  arguments:
+  - type: const char *
+- name: readdir
+  standards:
+  - POSIX
+  return_type: struct dirent *
+  arguments:
+  - type: DIR *
diff --git a/libc/newhdrgen/yaml/dlfcn.yaml b/libc/newhdrgen/yaml/dlfcn.yaml
index 725ee705714a75..ee3ae3cda3f6b5 100644
--- a/libc/newhdrgen/yaml/dlfcn.yaml
+++ b/libc/newhdrgen/yaml/dlfcn.yaml
@@ -1,39 +1,39 @@
 header: dlfcn.h
 macros:
-  - macro_name: RTLD_LAZY
-    macro_value: null
-  - macro_name: RTLD_NOW
-    macro_value: null
-  - macro_name: RTLD_GLOBAL
-    macro_value: null
-  - macro_name: RTLD_LOCAL
-    macro_value: null
+- macro_name: RTLD_LAZY
+  macro_value: null
+- macro_name: RTLD_NOW
+  macro_value: null
+- macro_name: RTLD_GLOBAL
+  macro_value: null
+- macro_name: RTLD_LOCAL
+  macro_value: null
 types: []
 enums: []
 objects: []
 functions:
-  - name: dlclose
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: void *
-  - name: dlerror
-    standards:
-      - POSIX
-    return_type: char *
-    arguments: []
-  - name: dlopen
-    standards:
-      - POSIX
-    return_type: void *
-    arguments:
-      - type: const char *
-      - type: int
-  - name: dlsym
-    standards:
-      - POSIX
-    return_type: void *
-    arguments:
-      - type: void *__restrict
-      - type: const char *__restrict
+- name: dlclose
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: void *
+- name: dlerror
+  standards:
+  - POSIX
+  return_type: char *
+  arguments: []
+- name: dlopen
+  standards:
+  - POSIX
+  return_type: void *
+  arguments:
+  - type: const char *
+  - type: int
+- name: dlsym
+  standards:
+  - POSIX
+  return_type: void *
+  arguments:
+  - type: void *__restrict
+  - type: const char *__restrict
diff --git a/libc/newhdrgen/yaml/errno.yaml b/libc/newhdrgen/yaml/errno.yaml
index a894063a1ee2c4..1e6fa658aca269 100644
--- a/libc/newhdrgen/yaml/errno.yaml
+++ b/libc/newhdrgen/yaml/errno.yaml
@@ -1,8 +1,8 @@
 header: errno.h
 standards:
-  - stdc
-  - Linux
-  - POSIX
+- stdc
+- Linux
+- POSIX
 macros: []
 types: []
 enums: []
diff --git a/libc/newhdrgen/yaml/fcntl.yaml b/libc/newhdrgen/yaml/fcntl.yaml
index a7bd1997b0eac8..357dba02dbe87a 100644
--- a/libc/newhdrgen/yaml/fcntl.yaml
+++ b/libc/newhdrgen/yaml/fcntl.yaml
@@ -1,40 +1,40 @@
 header: fcntl.h
 macros: []
 types:
-  - type_name: off_t
-  - type_name: mode_t
+- type_name: off_t
+- type_name: mode_t
 enums: []
 objects: []
 functions:
-  - name: creat
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: const char *
-      - type: mode_t
-  - name: fcntl
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: int
-      - type: int
-      - type: ...
-  - name: open
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: const char *
-      - type: int
-      - type: ...
-  - name: openat
-    standards:
-      - POSIX
-    return_type: int
-    arguments:
-      - type: int
-      - type: const char *
-      - type: int
-      - type: ...
+- name: creat
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: const char *
+  - type: mode_t
+- name: fcntl
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: int
+  - type: int
+  - type: '...'
+- name: open
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: const char *
+  - type: int
+  - type: '...'
+- name: openat
+  standards:
+  - POSIX
+  return_type: int
+  arguments:
+  - type: int
+  - type: const char *
+  - type: int
+  - type: '...'
diff --git a/libc/newhdrgen/yaml/features.yaml b/libc/newhdrgen/yaml/features.yaml
index a18af22edb7436..6e85a8d763314a 100644
--- a/libc/newhdrgen/yaml/features.yaml
+++ b/libc/newhdrgen/yaml/features.yaml
@@ -1,6 +1,6 @@
 header: features.h
 standards:
-  - stdc
+- stdc
 macros: []
 types: []
 enums: []
diff --git a/libc/newhdrgen/yaml/fenv.yaml b/libc/newhdrgen/yaml/fenv.yaml
index 95eb93c883e3c8..fd96fa857769c7 100644
--- a/libc/newhdrgen/yaml/fenv.yaml
+++ b/libc/newhdrgen/yaml/fenv.yaml
@@ -1,107 +1,107 @@
 header: fenv.h
 macros: []
 types:
-  - type_name: fenv_t
-  - type_name: fexcept_t
+- type_name: fenv_t
+- type_name: fexcept_t
 enums: []
 objects: []
 functions:
-  - name: feclearexcept
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: fetestexcept
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: fetestexceptflag
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: const fexcept_t *
-      - type: int
-  - name: feraiseexcept
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: fesetround
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: fegetround
-    standards:
-      - stdc
-    return_type: int
-    arguments: []
-  - name: fegetenv
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: fenv_t *
-  - name: fesetenv
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: const fenv_t *
-  - name: fegetexceptflag
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: fexcept_t *
-      - type: int
-  - name: fesetexcept
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: int
-  - name: fesetexceptflag
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: const fexcept_t *
-      - type: int
-  - name: feholdexcept
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: fenv_t *
-  - name: feupdateenv
-    standards:
-      - stdc
-    return_type: int
-    arguments:
-      - type: const fenv_t *
-  - name: fedisableexcept
-    standards:
-      - GNUExtensions
-    return_type: int
-    arguments:
-      - type: int
-    guard: null
-  - name: feenableexcept
-    standards:
-      - GNUExtensions
-    return_type: int
-    arguments:
-      - type: int
-    attributes: []
-  - name: fegetexcept
-    standards:
-      - GNUExtensions
-    return_type: int
-    arguments: []
+- name: feclearexcept
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: fedisableexcept
+  standards:
+  - GNUExtensions
+  return_type: int
+  arguments:
+  - type: int
+  guard: null
+- name: feenableexcept
+  standards:
+  - GNUExtensions
+  return_type: int
+  arguments:
+  - type: int
+  attributes: []
+- name: fegetenv
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: fenv_t *
+- name: fegetexcept
+  standards:
+  - GNUExtensions
+  return_type: int
+  arguments: []
+- name: fegetexceptflag
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: fexcept_t *
+  - type: int
+- name: fegetround
+  standards:
+  - stdc
+  return_type: int
+  arguments: []
+- name: feholdexcept
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: fenv_t *
+- name: feraiseexcept
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: fesetenv
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: const fenv_t *
+- name: fesetexcept
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: fesetexceptflag
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: const fexcept_t *
+  - type: int
+- name: fesetround
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: fetestexcept
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: int
+- name: fetestexceptflag
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: const fexcept_t *
+  - type: int
+- name: feupdateenv
+  standards:
+  - stdc
+  return_type: int
+  arguments:
+  - type: const fenv_t *
diff --git a/libc/newhdrgen/yaml/float.yaml b/libc/newhdrgen/yaml/float.yaml
index 63639a6e8ed131..36685c08f47f69 100644
--- a/libc/newhdrgen/yaml/float.yaml
+++ b/libc/newhdrgen/yaml/float.yaml
@@ -1,6 +1,6 @@
 header: float.h
 standards:
-  - stdc
+- stdc
 macros: []
 types: []
 enums: []
diff --git a/libc/newhdrgen/yaml/gpu/rpc.yaml b/libc/newhdrgen/yaml/gpu/rpc.yaml
index 57473f72c38271..6c97659010a33a 100644
--- a/libc/newhdrgen/yaml/gpu/rpc.yaml
+++ b/libc/newhdrgen/yaml/gpu/rpc.yaml
@@ -4,20 +4,20 @@ types: []
 enums: []
 objects: []
 functions:
-  - name: rpc_host_call
-    standards:
-      - GPUExtensions
-    return_type: void
-    arguments:
-      - type: void *
-      - type: void *
-      - type: size_t
-  - name: rpc_fprintf
-    standards:
-      - GPUExtensions
-    return_type: int
-    arguments:
-      - type: ::FILE *__restrict
-      - type: const char *__restrict
-      - type: void *
-      - type: size_t
+- name: rpc_fprintf
+  standards:
+  - GPUExtensions
+  return_type: int
+  arguments:
+  - type: ::FILE *__restrict
+  - type: const char *__restrict
+  - type: void *
+  - type: size_t
+- name: rpc_host_call
+  standards:
+  - GPUExtensions
+  return_type: void
+  arguments:
+  - type: void *
+  - type: void *
+  - type: size_t
diff --git a/libc/newhdrgen/yaml/inttypes.yaml b/libc/newhdrgen/yaml/inttypes.yaml
index ad636cc5121a11..96003f171173ea 100644
--- a/libc/newhdrgen/yaml/inttypes.yaml
+++ b/libc/newhdrgen/yaml/inttypes.yaml
@@ -1,36 +1,36 @@
 header: inttypes.h
 macros: []
 types:
-  - type_name: imaxdiv_t
+- type_name: imaxdiv_t
 enums: []
 objects: []
 functions:
-  - name: imaxabs
-    standards:
-      - stdc
-    return_type: intmax_t
-    arguments:
-      - type: intmax_t
-  - name: imaxdiv
-    standards:
-      - stdc
-    return_type: imaxdiv_t
-    arguments:
-      - type: intmax_t
-      - type: intmax_t
-  - name: strtoimax
-    standards:
-      - stdc
-    return_type: intmax_t
-    arguments:
-      - type: const char *__restrict
-      - type: char * *__restrict
-      - type: int
-  - name: strtoumax
-    standards:
-      - stdc
-    return_type: uintmax_t
-    arguments:
-      - type: const char *__restrict
-      - type: char * *__restrict
-      - type: int
+- name: imaxabs
+  standards:
+  - stdc
+  return_type: intmax_t
+  arguments:
+  - type: intmax_t
+- name: imaxdiv
+  standards:
+  - stdc
+  return_type: imaxdiv_t
+  arguments:
+  - type: intmax_t
+  - type: intmax_t
+- name: strtoimax
+  standards:
+  - stdc
+  return_type: intmax_t
+  arguments:
+  - type: const char *__restrict
+  - type: char * *__restrict
+  - type: int
+- name: strtoumax
+  standards:
+  - stdc
+  return_type: uintmax_t
+  arguments:
+  - type: const char *__restrict
+  - type: char * *__restrict
+  - type: int
diff --git a/libc/newhdrgen/yaml/limits.yaml b/libc/newhdrgen/yaml/limits.yaml
index bf33ed24e7a8d7..221dc834b9b270 100644
--- a/libc/newhdrgen/yaml/limits.yaml
+++ b/libc/newhdrgen/yaml/limits.yaml
@@ -1,6 +1,6 @@
 header: limits.h
 standards:
-  - stdc
+- stdc
 macros: []
 types: []
 enums: []
diff --git a/libc/newhdrgen/yaml/math.yaml b/libc/newhdrgen/yaml/math.yaml
index 2f1203e581f9a7..9e65488a1a3c7b 100644
--- a/libc/newhdrgen/yaml/math.yaml
+++ b/libc/newhdrgen/yaml/math.yaml
@@ -1,2398 +1,2398 @@
 header: math.h
 macros: []
 types:
-  - type_name: float_t
-  - type_name: double_t
-  - type_name: float128
+- type_name: float_t
+- type_name: double_t
+- type_name: float128
 enums: []
 objects: []
 functions:
-  - name: cbrt
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-  - name: cbrtf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-  - name: copysign
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-      - type: double
-  - name: copysignf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-      - type: float
-  - name: copysignl
-    standards:
-      - stdc
-    return_type: long double
-    arguments:
-      - type: long double
-      - type: long double
-  - name: ceil
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-  - name: ceilf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-  - name: ceill
-    standards:
-      - stdc
-    return_type: long double
-    arguments:
-      - type: long double
-  - name: fabs
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-  - name: fabsf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-  - name: fabsl
-    standards:
-      - stdc
-    return_type: long double
-    arguments:
-      - type: long double
-  - name: fdim
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-      - type: double
-  - name: fdimf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-      - type: float
-  - name: fdiml
-    standards:
-      - stdc
-    return_type: long double
-    arguments:
-      - type: long double
-      - type: long double
-  - name: floor
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-  - name: floorf
-    standards:
-      - stdc
-    return_type: float
-    arguments:
-      - type: float
-  - name: floorl
-    standards:
-      - stdc
-    return_type: long double
-    arguments:
-      - type: long double
-  - name: fmin
-    standards:
-      - stdc
-    return_type: double
-    arguments:
-      - type: double
-      - type: doub...
[truncated]

``````````

</details>


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


More information about the libc-commits mailing list