Files
Alexey Samsonov ae63230c23 [libc] Remove more header template files (#189066)
Get rid of several .h.def files which were used to ensure that the
macro definitions from llvm-libc-macro would be included in the public
header. Replace this logic with YAML instead - add entries to the
"macros" list that point to the correct "macro_header" to ensure it
would be included.

For C standard library headers, list several standard-define macros
to document their availability. For POSIX/Linux headers, only reference
a handful of macro, since more planning is needed to decide how to
represent platform-specific macro in YAML.
2026-03-27 16:06:39 -07:00

42 lines
1.0 KiB
YAML

header: endian.h
standards:
- posix
macros:
- macro_name: BYTE_ORDER
macro_header: endian-macros.h
- macro_name: LITTLE_ENDIAN
macro_header: endian-macros.h
- macro_name: BIG_ENDIAN
macro_header: endian-macros.h
- macro_name: be16toh
macro_header: endian-macros.h
- macro_name: be32toh
macro_header: endian-macros.h
- macro_name: be64toh
macro_header: endian-macros.h
- macro_name: htobe16
macro_header: endian-macros.h
- macro_name: htobe32
macro_header: endian-macros.h
- macro_name: htobe64
macro_header: endian-macros.h
- macro_name: htole16
macro_header: endian-macros.h
- macro_name: htole32
macro_header: endian-macros.h
- macro_name: htole64
macro_header: endian-macros.h
- macro_name: le16toh
macro_header: endian-macros.h
- macro_name: le32toh
macro_header: endian-macros.h
- macro_name: le64toh
macro_header: endian-macros.h
types:
- type_name: uint16_t
- type_name: uint32_t
- type_name: uint64_t
enums: []
objects: []
functions: []