Files
clang-p2996/libc/config/baremetal/api.td
Siva Chandra Reddy 3beb054170 [libc] Add a baremetal config.
The config currently includes ctype, math, stdlib, inttypes and string
functions.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D140378
2022-12-20 19:43:45 +00:00

27 lines
436 B
TableGen

include "config/public_api.td"
include "spec/stdc.td"
def CTypeAPI : PublicAPI<"ctype.h"> {
}
def IntTypesAPI : PublicAPI<"inttypes.h"> {
let Types = ["imaxdiv_t"];
}
def StdlibAPI : PublicAPI<"stdlib.h"> {
let Types = [
"div_t",
"ldiv_t",
"lldiv_t",
"size_t",
"__bsearchcompare_t",
"__qsortcompare_t",
"__atexithandler_t",
];
}
def StringAPI : PublicAPI<"string.h"> {
let Types = ["size_t"];
}