Aaron Ballman 5ab944a8c6
[C2y] Add stdcountof.h (#140890)
WG14 N3469 changed _Lengthof to _Countof but it also introduced the
<stdcountof.h> header to expose a macro with a non-ugly identifier. GCC
vends this header as part of the compiler implementation, so Clang
should do the same.

Suggested-by: Alejandro Colomar <alx@kernel.org>
2025-05-28 06:41:01 -04:00

77 lines
939 B
Plaintext

module cstd [system] [no_undeclared_includes] {
module complex {
header "complex.h"
export *
}
module float {
header "float.h"
export *
}
module inttypes {
header "inttypes.h"
export *
}
module iso646 {
header "iso646.h"
export *
}
module limits {
header "limits.h"
export *
}
module math {
header "math.h"
export *
}
module stdalign {
header "stdalign.h"
export *
}
module stdarg {
header "stdarg.h"
export *
}
module stdatomic {
header "stdatomic.h"
export *
}
module stdbool {
header "stdbool.h"
export *
}
module stdcountof {
header "stdcountof.h"
export *
}
module stddef {
header "stddef.h"
export *
}
module stdint {
header "stdint.h"
export *
}
module tgmath {
header "tgmath.h"
export *
}
module unwind {
header "unwind.h"
export *
}
}