The .yaml files should live next to the corresponding .h.def files in libc/include/, rather than next to the implementation of the tool in libc/utils/hdrgen/. As with the .h.def files, there is no need for a yaml/ subdirectory under include/. This simpler layout is more natural for maintenance and also simplifies build integration outside the LLVM CMake build.
37 lines
694 B
YAML
37 lines
694 B
YAML
header: inttypes.h
|
|
macros: []
|
|
types:
|
|
- 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
|